0
Welcome Guest! Login
0 items Join Now

ROCKETTHEME IS CLOSING ON JUNE 30, 2025. As a thank-you to our community, enjoy 50% off all themes with the promo code THANKYOU before we shut down. Read our Farewell Blog Post for more details.

Adding woopra directly to joomla 1.1.x template possible?

    • MoveTwice's Avatar
    • MoveTwice
    • Sr. Rocketeer
    • Posts: 106
    • Thanks: 0

    Adding woopra directly to joomla 1.1.x template possible?

    Posted 16 years 6 months ago
    • Unfortunatly I one of my clients sites is still runing joomla 1.1.x (no reason to really update yet). And I would like to run woopra. Can I just add the code to the template index.php before the </body> </html>?
      (i'm using a modified version of technopia). But I this should work with any template right?
      <!-- Woopra Code Start -->
      <script type="text/javascript">
      var _wh = ((document.location.protocol=='https:') ? "https://sec1.woopra.com" : "http://static.woopra.com");
      document.write(unescape("%3Cscript src='" + _wh + "/js/woopra.js' type='text/javascript'%3E%3C/script%3E"));
      </script>
      <!-- Woopra Code End -->
    • Last Edit: 16 years 6 months ago by MoveTwice.
    • Andy Miller's Avatar
    • Andy Miller
    • Preeminent Rocketeer
    • Posts: 9919
    • Thanks: 96
    • Web Kahuna

    Re: Adding woopra directly to joomla 1.1.x template possible?

    Posted 16 years 6 months ago
    • Sure, that would work fine. Just put it before the </body> tag at the bottom of the index.php file.
    • MoveTwice's Avatar
    • MoveTwice
    • Sr. Rocketeer
    • Posts: 106
    • Thanks: 0

    Re: Adding woopra directly to joomla 1.1.x template possible?

    Posted 16 years 6 months ago
    • Awesome thanks andy for the speedy response!

      Ohh I found on woopra forums from Andy from our rockettheme staff. This is how to make a module to do it, but for me its just easier to add it to the index.php file because I have 3 sites (2 businesses and 1 organization) integrated into being a web of sites.

      www.woopra.com/forums/topic/joomla-intergration#post-385
      for the record its just:

      <?php loadModules('debug', -1); ?>

      for joomla 1.0 and

      <jdoc:include type="modules" name="debug" style="none" />

      for joomla 1.5

      Just stick this module position towards the bottom of your page, then create a custom "html" module in the module manager and insert the woopra code in there. BTW, you may have to turn off your wysiwyg editor to make sure it takes and is not stripped out.

      hope this helps if anyone else has the same question.
    • Last Edit: 16 years 6 months ago by MoveTwice.

Time to create page: 0.077 seconds