0
Welcome Guest! Login
0 items Join Now

Google Mootools

  • Google Mootools

    Posted 12 years 10 months ago
    • Hi there,
      How do i insert this code into one of your Gantry templates please?
      <!-- The following code goes into your template's index.php <head> tags, right before the <jdoc:include type="head" /> code block --><?php// Replace Mootools in Joomla! with a compressed copy from Google AJAX Libraries API$document =&JFactory::getDocument();unset($document->_scripts[$this->baseurl . '/media/system/js/mootools.js']);?><script type="text/javascript" src="http://www.google.com/jsapi"></script><script type="text/javascript">google.load("mootools", "1.1.2");</script>
    • Who?'s Avatar
    • Who?
    • Preeminent Rocketeer
    • Posts: 25562
    • Thanks: 613
    • Joomla freelancer

    Re: Google Mootools

    Posted 12 years 10 months ago
    • Edit index.php file under template's folder
    • Check my services at: Mihha-Vision
  • Re: Google Mootools

    Posted 12 years 10 months ago
    • Thanks, but the bit that says " <jdoc:include type="head" />" appears to be missing from index.php?
    • Who?'s Avatar
    • Who?
    • Preeminent Rocketeer
    • Posts: 25562
    • Thanks: 613
    • Joomla freelancer

    Re: Google Mootools

    Posted 12 years 10 months ago
    • That is because our templates use Gantry framework so we are using Gantry calls to build page elements.

      Try finding < head > tag and add this immediately after it
    • Check my services at: Mihha-Vision
  • Re: Google Mootools

    Posted 12 years 10 months ago
    • I see! Thanks for this. :)

Time to create page: 0.201 seconds