MoodJax currently is Chunk-javascript-php extension to wayfinder used to ajaxify modx content retrieving the [+content+] of the pages instead of reload the entire webpage... i really hope that somebody could help me to improve this
I really need help with this one, I’m not a hardcore developer, i just want to contribute to modx with this little code...
TODO:
make the snippets or chunks loaded using moodjax will execute before update the div holder
make a snippet with the code with a better options
improve the php part: i’ve tried to use ajaxfind index-ajax.php, but cause my lame php knowledge i don’t be able to achieve this, so in this version i hardcode all needed in the php.
moodjax has 4 files:
moodjax.js -> mootools code to make the ajax call
moodjax.php -> connection to the database to retrieve content given an specified id
base_template.tpl.html -> the most basic template for use with moodjax
ajaxRow.tpl.html -> the wayfinder rowTpl needed to do the magic
i’m really interested in make this work, but i’m not capable of doing alone, i hope the comunity would like this idea and improbe the code
visit us at www.dospuntocero.cl
an example of MoodJax could be seen at
http://wrs.dospuntocero.cl/ (works fully with firefox, and not perfect in safari and explorers)
if using mootools included in manager’s modx works ok in safari and firefox... ie problems are cause bad css
visit us at www.dospuntocero.cl