Endless scrolling breaks self links

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
Andrew Prior
Forum Members
Forum Members
Posts: 241
Joined: Sun Oct 28, 2007 4:14 am
Location: Australia

Endless scrolling breaks self links

Post by Andrew Prior »

Lazy Loading.
With a lot of help from Matt Hornsby, whom I'm giving a rest :) I have been able to get endless scrolling working inone of his templates. It uses Rolf''s code from CMSCanBeSimple.

Code: Select all

https://cmscanbesimple.org/blog/cmsms-modules-and-endless-scrolling

I've just realised that it kills cms self links (I am using prettified links, and not using the More links in the News Module). I can work around this by putting links in manually, but I'd prefer not to go that way.

I have a vague feeling I saw something about this issue, somewhere, but can't track it down. Does anyone know from experience whether Rolf's code can be made to work with selflinks?

Thanks
Andrew
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3483
Joined: Mon Nov 28, 2011 9:29 am
Location: The Netherlands

Re: Endless scrolling breaks self links

Post by velden »

Realize that the scroll solution is based on javascript en cms_selflink is Smarty/PHP.
It should be possible to work with cms_selflinks.

But, a link to the problem site would be very helpful.
Post Reply

Return to “The Lounge”