Hello there
I want to Load a Image or Article in the position Joms-main on frontpage for guests, when Jomsocial option Configuration > Layout > Frontpage Activity Stream > Show Activity Stream is set to Members only.
This option leaves a big white space, for guests, that use a laptop/monitor display. The same doesnt happen on mobile devices.
Regards,
David
HI, David.
Thank you for contacting us.
Please, do some printscrens and mark what you want to achieve.
One image stands for 100 words :)
This will help me better understand what you request.
Hi, David.
Copy this file: ROOT/components/com_community/templates/jomsocial/layouts/frontpage/base.php
to: ROOT/templates/your-template/html/com_community/layouts/ (if you don't have those folders - feel free to create them)
Then edit the file.
In line 47 you'll see:
<div class="joms-main <?php echo $is_full = ($moduleCount == 0 ? 'joms-main--full' : ''); ?>">
<div class="joms-module__wrapper"><?php $this->renderModules('js_my_frontpage_top'); ?></div>
<div class="joms-module__wrapper--stacked"><?php $this->renderModules('js_my_frontpage_top_stacked'); ?></div>
HI, David.
You're welcome :)