Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • chmiel14 Friend
    #163651

    Where is file to add java script code to the HEAD? Template ja-droid.
    Thank you!

    Saguaros Moderator
    #390045

    you copy the file pluginssystemjat3base-themesdefaultblocks/head.php file to the templates/ja_droid/blocks folder then open that file to add your code

    pritam Friend
    #390085

    Hello,

    To add new CSS & JS files you have to edit the default layout of your template (default.xml) and add the following code just after the layout opening tag <layout>

    Code:

    <!–Extra css load for this layout–>
    <stylesheets>
    <file>css/style.css</file>
    </stylesheets>

    <!–Extra JS load for this layout –>
    <scripts>
    <file>js/script.js</file>
    </scripts>

    for reach default.xml goto ja_droid/core/etc/layouts/default.xml

    manuel2011 Friend
    #392602

    <em>@pritam 238906 wrote:</em><blockquote>Hello,

    To add new CSS & JS files you have to edit the default layout of your template (default.xml) and add the following code just after the layout opening tag <layout>

    Code:

    <!–Extra css load for this layout–>
    <stylesheets>
    <file>css/style.css</file>
    </stylesheets>

    <!–Extra JS load for this layout –>
    <scripts>
    <file>js/script.js</file>
    </scripts>

    for reach default.xml goto ja_droid/core/etc/layouts/default.xml</blockquote>

    I’ve tryed this to add a custom css, but my custom css will be overwritten from template.css

    How can I change that. The custom css should be load at last.

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

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

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