Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • mx5gr Friend
    #162820

    We use JAT3 2.0 for our site template. However, we need to add some custom code just before the </head> and </body> HTML tags. We tried making a module and assign it to footer (for example by using a module @ the very bottom position) but we always got <div> around it.

    Any ideas how we can enter our custom code before the tags?

    khoand Friend
    #386554

    Hi,
    You try edit <joomla url>pluginssystemjat3jat3base-themesdefaultpagedefault.php file

    mx5gr Friend
    #386557

    <em>@khoand 234441 wrote:</em><blockquote>Hi,
    You try edit <joomla url>pluginssystemjat3jat3base-themesdefaultpagedefault.php file</blockquote>

    Thanx, it worked out!

    Phill Moderator
    #386563

    Please copy that file to the templates folder ie template>your_template_name>page>default.php

    That way if you update the JAT3 framework plugin your changes will not be lost.

    bkmja Friend
    #400398

    <em>@phill luckhurst 234451 wrote:</em><blockquote>Please copy that file to the templates folder ie template>your_template_name>page>default.php

    That way if you update the JAT3 framework plugin your changes will not be lost.</blockquote>

    Hi, is this an actual path? The “page” directory is confusing. Thanks for the clarification.

    khoand Friend
    #400416

    Because JAT3 sets priority to templates.
    <joomla url>pluginssystemjat3jat3base-themesdefaultpagedefault.php file has low priority
    <joomla url>templateyour_template_namepagedefault.php file has higher priority
    If <joomla url>templateyour_template_namepagedefault.php file is missing, <joomla url>pluginssystemjat3jat3base-themesdefaultpagedefault.php file is loaded
    To do as phill luckhurst said, because when you upgrade JAT3 in future, <joomla url>pluginssystemjat3jat3base-themesdefaultpagedefault.php is replace by new. So if you edit <joomla url>pluginssystemjat3jat3base-themesdefaultpagedefault.php directly, your code that you changed is overrided
    Refer: http://wiki.joomlart.com/wiki/JA_T3_Framework_2/Guides#Override_Priority

    bkmja Friend
    #400434

    Hi,

    Thank you. Very clear explanation. Checked a more recent version of framework and found “page” so that clears that up.

    Like the idea of future proofing for T3 upgrades. Have seen the wiki, lots of hours on it recently, but something is still not clear. It leads one to believe one can future proof template upgrades too. I believe it has to do with the local directory, but would like to confirm.

    Thanks again for the help.

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

This topic contains 7 replies, has 4 voices, and was last updated by  bkmja 13 years, 4 months ago.

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