Advertisement

Need help integrating Dynamic Loading Articles w/ PHP &

Moderators: Calcifer, slothy

Need help integrating Dynamic Loading Articles w/ PHP &

Postby mzzs » Sun Feb 17, 2008 6:26 pm

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.
mzzs
 
Posts: 2
Joined: Sun Feb 17, 2008 6:00 pm

Postby mzzs » Sun Feb 17, 2008 8:39 pm

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
mzzs
 
Posts: 2
Joined: Sun Feb 17, 2008 6:00 pm


Return to General questions regarding AJAX scripts

Who is online

Users browsing this forum: No registered users and 18 guests

cron