Calendar assets - prev_link and next_link keywords dont support modifiers?


(Douglas (@finnatic at @waikato)) #1

Matrix Version: 5.4.1.2

Happy to create a SquizMap for this if needed.

Recently, I’ve attempted to modify in Matrix 5.4.1.2 prev_link and next_link keywords to rewrite the url generated to use the domain we want to show publicly.

What I found was that trying to use modifiers resulted in nothing being output. Am I correct in thinking those keyword replacements don’t support modifiers?

(I have a JavaScript solution in place, but it’s not final and can’t be since we can’t rely on search bots in particular to execute JS reliably, never mind someone on the other side of the world on a dodgy mobile connection).


(Bart Banda) #2

I’d say keyword modifier support has never been added to them, which I look at as a bug because essentially, modifiers should work on all keywords. So yes, please report a Squizmap for it if you can.

Could you workaround it in the meantime using SSJS?


(Douglas (@finnatic at @waikato)) #3

Will do on the squizmap, and will try SSJS - it should work to move the work to the server.