Elxis CMS Forum

Extensions => Modules => Topic started by: GunterUK on April 18, 2008, 17:55:16

Title: Ajax Development within Elxis 2008 and Xajax potential use.
Post by: GunterUK on April 18, 2008, 17:55:16
I'm new to elxis been working with it for a few days only and trying to get to grips with understanding its Ajax capabilities.

I've been reading the example ajax development guide https://forum.elxis.org/index.php?topic=857.0.
But the required files ajax_new.js does not exist in the 'js' directory.

Am I missing something?

Also, because my javascript knowledge is limited I've been looking into potentially using Xajax, I'm wondering if anyone has successfully implemented it?

TIA

Gunter
Title: Re: Ajax Development within Elxis 2008 and Xajax potential use.
Post by: Ivan Trebješanin on April 18, 2008, 18:04:21
Hi Gunter,

The guide you were reading is describing example of AJAX page in backend. Therefore, you can find ajax_new.js in /administrator/includes/js/ajax.new.js ;)
Title: Re: Ajax Development within Elxis 2008 and Xajax potential use.
Post by: GunterUK on April 18, 2008, 19:00:25
Ivan,

Thanks for swift response!

I better RFM again!!

 ;D

Can I adopt the same approach in the frontend module component I've built??

I'm trying to dymanically change the returned list of data from mysql. i.e. to limit and switch the result set.

Title: Re: Ajax Development within Elxis 2008 and Xajax potential use.
Post by: datahell on April 18, 2008, 23:09:57
AJAX Sack (ajax_new.js) is a light AJAX library but very easy to use and fine for the most tasks you want to perform. You can additionally use XAJAX, prototype, mootools etc, if you like. In that case just make sure they dont conflict with other ajax libraries they might exist in your site. Prefer the usage of the default AJAX Sack if you wish to do simple tasks.

If you need help to create your script we are here to help!