Page 1 of 1

Need help integrating Dynamic Loading Articles w/ PHP &

PostPosted: Sun Feb 17, 2008 6:26 pm
by mzzs
Hi..

I am in the middle of writing a custom module for drupal (cms) in which i hope to integrate the dynamic loading articles ajax script. I added the script and it works exactly how it is supposed to. Instead of having the script fetch an external html file with the name of the li id, i need it to call a php function, passing the id as an argument. the php function returns the data that can be displayed in the div. i don't have a vast experience with any of these topics so i apologize if my explanation is insufficient. thank you very much for your help.

PostPosted: Sun Feb 17, 2008 8:39 pm
by mzzs
small change of plans

i need the script to make a call to a specific URL including the article ID...
eg: feeds/<articleID>

not necessarily display the page at that location, just make a call to it. calling the URL will call the php function with the articleID as an argument and return the data needed for the main div..

thanks