Ajaxifying Joomla Links with Mootools

Wednesday, June 3, 2009 12:21
Posted in category Joomla, Mootools, Tutorial, javascript

Have you ever wanted to automatically ajaxify joomla links? This is to say if you ever wished that all the links would open with ajax request in your main component area! If yes, then read on! This small tutorial will teach you how to automatically implement ajax requests in every link on a joomla page.

To implement Ajax request in every link in a joomla page you need to modify index.php of joomla template.

Add the code below in index.php

<script>

VN:F [1.8.3_1051]
Rating: 10.0/10 (1 vote cast)
VN:F [1.8.3_1051]
Rating: +1 (from 1 vote)
Ajaxifying Joomla Links with Mootools10.0101
http://www.sanjeevshrestha.com.np/wp-content/plugins/sociofluid/images/digg_32.png http://www.sanjeevshrestha.com.np/wp-content/plugins/sociofluid/images/reddit_32.png http://www.sanjeevshrestha.com.np/wp-content/plugins/sociofluid/images/stumbleupon_32.png http://www.sanjeevshrestha.com.np/wp-content/plugins/sociofluid/images/delicious_32.png http://www.sanjeevshrestha.com.np/wp-content/plugins/sociofluid/images/blogmarks_32.png http://www.sanjeevshrestha.com.np/wp-content/plugins/sociofluid/images/google_32.png http://www.sanjeevshrestha.com.np/wp-content/plugins/sociofluid/images/myspace_32.png http://www.sanjeevshrestha.com.np/wp-content/plugins/sociofluid/images/facebook_32.png http://www.sanjeevshrestha.com.np/wp-content/plugins/sociofluid/images/yahoobuzz_32.png http://www.sanjeevshrestha.com.np/wp-content/plugins/sociofluid/images/twitter_32.png
You can leave a response, or trackback from your own site.

4 Responses to “Ajaxifying Joomla Links with Mootools”

  1. Deivid says:

    July 11th, 2009 at 5:14 am

    Not work the content jumps from one to another in joomla.

    This link I found interesting but I’m a newbie and do not know if you can implement in joomla.

    http://www.phatfusion.net/pageloader/

    Any suggestions?

    Thank you

    UN:F [1.8.3_1051]
    Rating: 0.0/5 (0 votes cast)
    UN:F [1.8.3_1051]
    Rating: 0 (from 0 votes)
  2. Avinash Malla says:

    September 15th, 2009 at 12:25 am

    amazing stuff brother……….!! ramro lagyo……..!!

    UN:F [1.8.3_1051]
    Rating: 0.0/5 (0 votes cast)
    UN:F [1.8.3_1051]
    Rating: 0 (from 0 votes)
  3. Avinash Malla says:

    September 15th, 2009 at 4:56 am

    doesnt it work on localhost?? all the content disappeared after i did what u said……..!!

    UN:F [1.8.3_1051]
    Rating: 0.0/5 (0 votes cast)
    UN:F [1.8.3_1051]
    Rating: 0 (from 0 votes)
  4. Avinash Malla says:

    September 16th, 2009 at 12:08 am

    Instead of

    I did

    Does that satisfy our requirement of ajaxifying the links??

    UN:F [1.8.3_1051]
    Rating: 0.0/5 (0 votes cast)
    UN:F [1.8.3_1051]
    Rating: 0 (from 0 votes)

Leave a Reply