Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#25 2012-01-19 05:28:07

ax
Plugin Author
From: Germany
Registered: 2009-08-19
Posts: 165

Re: List pagination

I don’t get it. When trying this:

<txp:category_list type="image" />
Results: <txp:paging item="result_total" />.
Page <txp:paging item="page, pages" break=" of " link="0" />
<txp:paging item="prev, page, next" break=" &middot; " wraptag="div" class="direct_nav" range="3" />

then nothing happens. Tag trace shows:

<txp:category_list type="image" />
	[SQL (0,00036406517028809): select name, title from txp_category where type = 'image' and name not in('default','root')   order by name ASC]
<txp:paging item="result_total" />
<txp:paging item="page, pages" break=" of " link="0" />
<txp:paging item="prev, page, next" break=" &middot; " wraptag="div" class="direct_nav" range="3" />

What am I missing?

Offline

#26 2012-01-19 13:14:32

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

Re: List pagination

ax wrote:

I don’t get it… nothing happens.

I’d forgotten all about this mod. Without trying it again, I guess nothing happens because it’s not been tested on the latest Txp version. This was written a looooong time ago.

But then again I can’t recall anything in the code that would stop it from working under 4.4.1. Perhaps it’s time to look at this again and see whether it’s worth pursuing for the core, or as a plugin.


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