Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#51 2020-10-16 14:41:58

etc
Developer
Registered: 2010-11-11
Posts: 3,934
Website

Re: Complex Pagination using Newer/Older with Shift

Bloke wrote #326440:

Wow. Fab idea, Oleg.

Thanks!

Does it only work inside container tags, or can it be used generally to, for example, run something on the 2nd pass without wrapping it in <txp:hide process="2">?

It should work, though it runs on the first pass. Edit: note that this order is applicable to siblings only, so this can not totally imitate the second pass.

Offline

#52 2020-10-16 19:00:04

etc
Developer
Registered: 2010-11-11
Posts: 3,934
Website

Re: Complex Pagination using Newer/Older with Shift

Is the ascending order of execution (i.e. 1, 2, …) okay, or we’d better switch to the descending one? The latter could allow for ‘post-normal’ processing too: …, 2, 1, 0 (or orderless tags), -1, -2, …

Offline

#53 2020-10-17 00:18:40

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 2,140
Website

Re: Complex Pagination using Newer/Older with Shift

etc wrote #326442:

Is the ascending order of execution (i.e. 1, 2, …) okay, or we’d better switch to the descending one? The latter could allow for ‘post-normal’ processing too: …, 2, 1, 0 (or orderless tags), -1, -2, …

Current ordering seems fine to me, easy to read/grasp for less math-wired brains (!).


Where is that emoji for a solar powered submarine when you need it ?

Offline

#54 2020-10-17 08:26:53

etc
Developer
Registered: 2010-11-11
Posts: 3,934
Website

Re: Complex Pagination using Newer/Older with Shift

phiw13 wrote #326446:

Current ordering seems fine to me, easy to read/grasp for less math-wired brains (!).

Let it be, then. I will try to find another meaning for negative order values.

Offline

Board footer

Powered by FluxBB