DONATE NOW TO HELP UPGRADE LIBCOM.ORG

issue with dynamic content loading from tag pages

3 posts / 0 new
Last post
spacious's picture
spacious
Offline
Joined: 2-09-15
Jun 22 2017 17:43
issue with dynamic content loading from tag pages

hi,
This is for the web developers here...
I was looking at the Dutch language page, and noticed that the pagination at the bottom is not working properly for the language-tagged articles. I think it's to do with the ajax/dynamic loading content, but the gist is when I click one of the pagination numbers, I end up with English language articles in a different looking layout. If I copy the urls of the pagination links (to sidestep the javascript), the outputted pages are fine.

For example this page is fine:
http://libcom.org/tags/nederlands?page=4

But clicking the number 4 from the first page of the tag 'Nederlands' (libcom.org/tags/nederlands), doesn't give the same results, but some selection of recently posted articles.

pi
Offline
Joined: 9-04-17
Jun 22 2017 19:11

I was experiencing this on the active forums page. Instead of going to page 2,3,next etc I got a page with what seemed like the first couple of articles from the front page (but the URL remained http://libcom.org/forum/active). Half an hour later on the same PC everything was fine.

spacious's picture
spacious
Offline
Joined: 2-09-15
Jun 22 2017 20:04
pi wrote:
I was experiencing this on the active forums page. Instead of going to page 2,3,next etc I got a page with what seemed like the first couple of articles from the front page (but the URL remained http://libcom.org/forum/active). Half an hour later on the same PC everything was fine.

Yes, that page behaves the same for me. Earlier, on the page that I mentioned, I saw three recent articles, and right now it is only a single one, this one about Grenfell: http://libcom.org/news/monopoly-board-city-grenfell-tower-where-was-hca-...

So it's probably outputting the same result on all pages which dynamically update content, with the results unrelated to the particular page. Either way, a script is either misbehaving or needs some further tweaking. smile