Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2024-10-27 20:49:13

etc
Developer
Registered: 2010-11-11
Posts: 5,189
Website GitHub

Re: Group Article results (into two groups) and place a div in the middle

Sorry, actually both <txp:article /> tags need pageby="4" to be set. Also, they must have different timestamps, otherwise the sort order could be random.

Offline

#14 2024-10-27 21:03:36

joanlafulla_Almas
Member
Registered: 2011-02-25
Posts: 21

Re: Group Article results (into two groups) and place a div in the middle

etc wrote #338077:

Sorry, actually both <txp:article /> tags need pageby="4" to be set. Also, they must have different timestamps, otherwise the sort order could be random.

This solution seems to work! I’ll finish testing it and see if I can implement it in production.
Thanks a lot.

Offline

#15 Yesterday 10:21:17

joanlafulla_Almas
Member
Registered: 2011-02-25
Posts: 21

Re: Group Article results (into two groups) and place a div in the middle

Many thanks to all of you who are always willing to help on this forum. The solution you gave me is already in production. Thanks!

darkblobcine.com/

Offline

#16 Yesterday 12:26:13

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,447
Website GitHub

Re: Group Article results (into two groups) and place a div in the middle

Wow, that’s a fabulous-looking site. Awesome work. Glad the tips above worked out, and super pleased you found Textpattern a good fit for your project.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

Board footer

Powered by FluxBB