Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Frontpage modules do not fit area

8 years 2 months ago
  • Am's Avatar
    Topic Author
  • Am
  • Offline
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 1
Licenses:
JomSocial Active

ISSUE SUMMARY: I'm trying to add content to the area below the login area on JomSocial frontpage. I created a custom html module and put it in js_side_frontpage_bottom. The module does not fill 100% of the space, it stays in a set width. I'd like the module to fill the whole area, not just half. If this isn't the proper way of adding content here, please let me know how. Thank you!

STEPS TO REPLICATE:
1. Create a custom html module
2. Assign the module to js_side_frontpage_bottom
3
4
5
RESULT: The module doesn't fill the whole area
EXPECTED RESULT: The module should stretch across and fill the whole area, unless another sidebar is added.
BROWSER: Firefox

The module is currently disabled since the site is live and it looks broken. Enable it if you need to.

Attachments:
8 years 2 months ago
Licenses:

Hi, Am.

You assigned module to js_side_frontpage_bottom what means it will appear in SIDE column. On frrontpage are two columns.
Please, read this documentation: documentation.jomsocial.com/wiki/Built-in_Module_Positions
What you need is to add own module position above both columns.

You'll need to create override for this file:

ROOT/components/com_community/templates/jomsocial/layouts/frontpage/base.php

Copy it to:

ROOT/templates/your-template/html/com_community/layouts/frontpage (if you don't have those folders - feel free to create them)

Now edit the file and add:

<div class="joms-module__wrapper--stacked"><?php $this->renderModules('my_frontpage_position_stacked'); ?></div>

In line 29.

This will create new module position above both columns, with name "my_frontpage_position_stacked".


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
The following user(s) said Thank You: Am
8 years 2 months ago
  • Am's Avatar
    Topic Author
  • Am
  • Offline
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 1
Licenses:
JomSocial Active

Perfect! Thank you!

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW