XF 2.3 AJAX requests - Page Container

Liam C.

Member
Hi there, I've started to create custom routes with Xenforo addons alongside a custom PAGE_CONTAINER.

Though I've noticed that whenever I navigate with the page_container (during hyperlinks), it refreshes the page which yeah, that's expected.

But is it possible to prevent page_container elements from refreshing and instead only refresh the content itself?

I've heard of AJAX requests but not sure how to apply them to this use case.
 
Theoretically that's possible, but it's neither easy nor straightforward as XenForo (as of now) simply isn't a SPA.

I personally probably wouldn't want to go down that rabbit hole.
 
Back
Top Bottom