Custom Module

By default Jobi do not allows you to add a new module above or below component area. In most cases Layout Manager allows you to add new rows and columns.

Default Component

But with very small php/xml customizations you can add two new modules.

Custom Module

Small Code Customization

Please edit those two files:

  • plugins/system/helix3/core/helix3.php
  • templates/TEMPLATE_NAME/templateDetails.xml

In first one (helix3.php): please find line 448 and do those changes (final code):

$output .= '<jdoc:include type="message" />';
$output .= '<jdoc:include type="modules" name="above" style="xhtml" />';
$output .= '<jdoc:include type="component" />';
$output .= '<jdoc:include type="modules" name="below" style="xhtml" />';

Now save changed file on your server.

In second file (templateDetails.xml): you have to add new positions as well. I suggest to choose line ~35.

<position>above</position>
<position>below</position>

Do not forget to save this edited file also. Those two changed files must be on server, not only on your local harddrive, if you know what I mean.

That's all now you can use those two new: above and below module positions in Module Manager. Until it won't be included in new version of Helix3 framework you can use this temporary but 100% working solution.


How to hide on mobile

Unfortunately, those module position do not have any options in Helix3 Layout Manager. So to hide them in mobile (small device) view you have to use addcional module class suffix. Please use:

    "hidden-xs hidden-sm"   - of course without (") !

Found errors? Think you can improve this documentation? Simply click the Edit link at the top of the page, and then the icon on Github to make your changes.