This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

BMCouto
BMCouto

Hi,

I've read this - https://octobercms.com/docs/cms/ajax - but I still don't understand how to call pages via AJAX. Is it something that I can just specify on the link or do I need to do the JS myself? And if I do, do I need to call October functions? Basically, what I want is to load into {% page %} every link on my website, except those with target="_blank".

Can someone please write a simple example? This would be very important to have on the docs.

Thank you!

Flynsarmy
Flynsarmy

You generally just load partials with AJAX. Partials can contain content blocks.

But if you want to load entire pages, see the angular plugin.

1-2 of 2

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.