0
Welcome Guest! Login
0 items Join Now

whstone - using template Chimera

    • Alain's Avatar
    • Alain
    • Elite Rocketeer
    • Posts: 1345
    • Thanks: 38

    Re: whstone - using template Chimera

    Posted 10 years 3 weeks ago
    • I turned off JCH Optimize plugin.

      Thank you.
    • Let go of what we believe to be, to awaken to who we are...
      Alain
  • Re: whstone - using template Chimera

    Posted 10 years 3 weeks ago
    • Alain wrote:
      I turned off JCH Optimize plugin.

      Thank you.

      Can you turn off on the French site as well please Alain?
    • Alain's Avatar
    • Alain
    • Elite Rocketeer
    • Posts: 1345
    • Thanks: 38

    Re: whstone - using template Chimera

    Posted 10 years 3 weeks ago
    • Done. Thank you.
    • Let go of what we believe to be, to awaken to who we are...
      Alain
  • Re: whstone - using template Chimera

    Posted 10 years 3 weeks ago
    • Thanks Alain,

      Can you show me in a reply the php code that you have added in these two files please:

      /templates/rt_ricochet/index.php

      /en/templates/rt_ricochet/index.php

      Also have you uploaded the wow.js and wow-init.js file to both of these locations?

      /rt_ricochet/js/wow.js
      /rt_ricochet/js/wow-init.js

      /en/rt_ricochet/js/wow.js
      /en/rt_ricochet/js/wow-init.js
    • Alain's Avatar
    • Alain
    • Elite Rocketeer
    • Posts: 1345
    • Thanks: 38

    Re: whstone - using template Chimera

    Posted 10 years 3 weeks ago
    • Thank you Phil,
      Here is the code I added to index.php for the french site:

      <?php
      $doc = JFactory::getDocument();
      $doc->addScript(JUri::root() . 'templates/' . $template . 'rt_ricochet/js/wow.js');
      ?>

      and for the english site:

      <?php
      $doc = JFactory::getDocument();
      $doc->addScript(JUri::root() . 'en/templates/' . $template . 'rt_ricochet/js/wow.js');
      ?>

      The files wow.js and wow-init.js are in their correct folders for french and english.
    • Let go of what we believe to be, to awaken to who we are...
      Alain
  • Re: whstone - using template Chimera

    Posted 10 years 3 weeks ago
    • Try this code adjustment in the HEAD section of the English index.php file:

      /en/templates/rt_ricochet/index.php


      <?php
      $doc = JFactory::getDocument();
      $doc->addScript(JUri::base() . 'en/templates/rt_ricochet/js/wow.js');
      ?>
    • Last Edit: 10 years 3 weeks ago by Phil Yonge.
    • Alain's Avatar
    • Alain
    • Elite Rocketeer
    • Posts: 1345
    • Thanks: 38

    Re: whstone - using template Chimera

    Posted 10 years 3 weeks ago
    • Code changed. But still the same.
    • Let go of what we believe to be, to awaken to who we are...
      Alain
  • Re: whstone - using template Chimera

    Posted 10 years 3 weeks ago
    • Im just going to take dogs for a walk then have a look again for you Alain
    • Last Edit: 10 years 3 weeks ago by Phil Yonge.
    • Alain's Avatar
    • Alain
    • Elite Rocketeer
    • Posts: 1345
    • Thanks: 38

    Re: whstone - using template Chimera

    Posted 10 years 3 weeks ago
    • Ok. Take it easy. Thank you for your help.
    • Let go of what we believe to be, to awaken to who we are...
      Alain
  • Re: whstone - using template Chimera

    Posted 10 years 3 weeks ago
    • The dogs enjoyed their walk and gave me time to think!

      Try this Alain

      Put this code at the botom of the head section of your English index.php file:

      /en/templates/rt_ricochet/index.php


      <?php 
      	$gantry->addScript('wow.js');
      ?>
      </head>

      EDIT: This code should work perfectly in your French installation and I would use this as it will tidy up the loading of the script. Let's see if it works for the English sub-folder Joomla installation.
    • Last Edit: 10 years 3 weeks ago by Phil Yonge.
    • The following users have thanked you: Matt

Time to create page: 0.057 seconds