Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • jscarfe Friend
    #194547

    Just wondering in Purity III’s ‘tpl’ folder when the “after-content” module position is. I’ve looked at all the ‘mainbody’ files and wasn’t able to find it. It’s also not showing in the ‘templateDetails.xml’ file. My goal is to create a new ‘before-content’ module, based on the after-content code.

    Thanks in advance.

    Khanh Le Moderator
    #521619

    The module position “after-content” is directly loaded in article detail layout file. In file templates/purity_iii/html/com_content/article/default.php, at the last line you can see code to load the module position:
    [PHP]
    <?php JATemplateHelper::loadModules(‘after-content’, ‘t3xhtml’) ?>
    [/PHP]

    jscarfe Friend
    #521718

    Awesome! Thanks for your help.

    zomidaily Friend
    #537255

    Hi…

    Just wondering why it doesn’t show up in the Module list by default? screenshot: http://prntscr.com/3o1o9j

    Regards,
    Joseph

    jscarfe Friend
    #537257

    <em>@zomidaily 430011 wrote:</em><blockquote>Hi…

    Just wondering why it doesn’t show up in the Module list by default? screenshot: http://prntscr.com/3o1o9j

    </blockquote>

    I believe if you want it in the list you’d have to add the position in the TemplateDetails xml file. I simply type in the position manually the first time round in the module position box (be sure to use the “Enter” key after typing the position) and then save. Next time you view the list of positions in the drop-down is should be in the “Custom” area.

    Hope that helps.

Viewing 5 posts - 1 through 5 (of 5 total)

This topic contains 5 replies, has 3 voices, and was last updated by  jscarfe 9 years, 11 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum