Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • kstar28 Friend
    #169057

    Hi,

    I’d like to know how can I add custom jquery to the template Kyanite II ?

    Version of Joomla used is 1.5.22.

    I’ve found several posts like this and I’ve tried but it didn’t work for me.

    I’ve tried to put the two followed code but without success.

    <scripts>
    <file>js/jquery.js</file>
    </scripts>

    Or

    <javascript>
    <file>path/script.js</file>
    </javascript>

    Thanks in advance for your help.

    Kevin


    1. printscreen
    TomC Moderator
    #415523

    Kevin:

    Here is a resource that may assist you –> Adding Javascript To Joomla[/url]

    You may also try to add the code here –> public_html/templates/yourTemplateName/blocks/head.php
    This block is the one that adds the css and mobile detect code. You may therefore insert your code there.

    kstar28 Friend
    #415608

    Hi Tom,

    Thanks for your help. I put my code in blocks/head.php.

    Kind Regards

    TomC Moderator
    #415830

    <em>@kstar28 271346 wrote:</em><blockquote>Hi Tom,

    Thanks for your help. I put my code in blocks/head.php.

    Kind Regards</blockquote>
    Did it work as you wanted?

    kstar28 Friend
    #415875

    Yes, thank you Tom

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

This topic contains 5 replies, has 2 voices, and was last updated by  kstar28 13 years, 1 month ago.

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