Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-09-18 03:37:05

mhulse
Plugin Author
From: Eugene Oregon
Registered: 2005-01-21
Posts: 200

Load content without page refresh...

Hi all…

Hope I get some help here… This is kinda one of those RTFM questions… Sorry in advance if I offend or bother anyone.

Would anyone be willing to share an example of an XMLHTTP request for TXP tags and/or content?

For example, I really want to load archived stories/excerpts by the month via an XMLHTTP request.

I usually use mootools for my JS framework, but I have yet to implement an XMLHTTP request from the ground-up using, well, any framework.

Basically I would like a really simple example — a basic starting point for me to spend the additional hours learning and perfecting the details.

Thanks in advance! :)
Cheers,
M

Offline

#2 2007-09-20 22:50:22

cykla
New Member
From: Boise, ID
Registered: 2007-09-20
Posts: 9
Website

Re: Load content without page refresh...

Have you looked into using this plugin?

http://textpattern.org/plugins/399/rss_live_archive

Also, you could potentially use the built in jQuery framework for your ajax.

Offline

#3 2007-09-21 00:49:38

mhulse
Plugin Author
From: Eugene Oregon
Registered: 2005-01-21
Posts: 200

Re: Load content without page refresh...

Hey cykla! Thanks for the reply, I really appreciate it. :)

Ah, I did see rss_live_archive… But for some reason it did not click with me then… but now that you point it out, I will give a closer look. Thanks for the tip-off. :)

Also, I did not realize jQuery framework was built-in to Textpattern. Thanks for eye-opener on that too! :)

Thanks a million… now to find documentation on the Jquery aspect… that could be the way to go.

Many thanks for you help!
Have a great day!
Cheers,
Micky

Offline

#4 2007-09-25 12:41:53

instantok
Member
Registered: 2004-08-10
Posts: 20

Re: Load content without page refresh...

I’ve had success using MooTools and dub_if_ajax. Just make sure to append a cache buster to the end of the reference to the page you are loading or the headers get confused.

Last edited by instantok (2007-09-25 12:42:55)

Offline

#5 2007-09-28 01:30:44

mhulse
Plugin Author
From: Eugene Oregon
Registered: 2005-01-21
Posts: 200

Re: Load content without page refresh...

Ooooh, thanks for the tip instantok, that sounds like a great combo. :)

Offline

Board footer

Powered by FluxBB