Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2013-01-31 16:35:48

etc
Developer
Registered: 2010-11-11
Posts: 2,949
Website

etc_pagination: paginate everything

Based on the orphaned ob1_pagination plugin, etc_pagination inherits most of its features and adds wraptag, break and some other attributes. It can be used alone for <txp:article /> list pagination, but its main interest is the ability to paginate <txp:article_custom /> and other lists, with a little help of etc_query.

More info and download on the home page.


etc_[ query | search | pagination | date | tree | cache ]

Offline

#2 2013-01-31 19:56:06

Manaus
Member
From: Turin, Italy
Registered: 2010-10-22
Posts: 244
Website

Re: etc_pagination: paginate everything

Great to hear this!
Looks like there’s something [not] unfolding with the link you provided as the homepage, though…

Offline

#3 2013-01-31 20:13:42

etc
Developer
Registered: 2010-11-11
Posts: 2,949
Website

Re: etc_pagination: paginate everything

Could you be more specific, please, it looks ok for me?


etc_[ query | search | pagination | date | tree | cache ]

Offline

#4 2013-01-31 22:13:28

tye
Member
From: Pottsville, NSW
Registered: 2005-07-06
Posts: 858
Website

Re: etc_pagination: paginate everything

Great Oleg :)

Thank you

Offline

#5 2013-02-01 11:51:03

etc
Developer
Registered: 2010-11-11
Posts: 2,949
Website

Re: etc_pagination: paginate everything

Makes me feel Gatsby, thanks! :)


etc_[ query | search | pagination | date | tree | cache ]

Offline

#6 2013-02-01 14:16:27

milosevic
Member
From: Madrid, Spain
Registered: 2005-09-19
Posts: 383

Re: etc_pagination: paginate everything

Good news, thanks for your work!


<txp:rocks/>

Offline

#7 2013-02-01 14:34:12

Manaus
Member
From: Turin, Italy
Registered: 2010-10-22
Posts: 244
Website

Re: etc_pagination: paginate everything

Now I can see it @etc, yesterday the link was returning a 404 :)
Great work.

Offline

#8 2013-02-01 15:15:41

etc
Developer
Registered: 2010-11-11
Posts: 2,949
Website

Re: etc_pagination: paginate everything

I must have been toying with something at this moment. Thanks guys!


etc_[ query | search | pagination | date | tree | cache ]

Offline

#9 2013-02-11 09:28:03

jstubbs
Moderator
From: Hong Kong
Registered: 2004-12-13
Posts: 2,392
Website

Re: etc_pagination: paginate everything

Hi Oleg,

Are there any examples of usage for txp:article alone? I’m getting strange results using the plugin with something like this:

<txp:if_article_list>
	<div class="twelve columns">	
		<txp:article limit="30">
			<article>
			....
			</article>
		</txp:article>
		<txp:etc_pagination prev="Previous" next="Next" wraptag="ul" break="li" class="link-list" />
	</div><!-- end twelve columns -->
</txp:if_article_list>

I don’t use forms for my txp:article tags anymore, is the sample code above ok for this plugin or am I missing something basic? The number of links is correct but on clicking page 2 or any other page, there is no output. Most likely I’m just missing the obvious…

Last edited by jstubbs (2013-02-11 09:28:23)

Offline

#10 2013-02-11 10:56:02

etc
Developer
Registered: 2010-11-11
Posts: 2,949
Website

Re: etc_pagination: paginate everything

Hi Jonathan,

it should work as is with <txp:article />. Can you check if the hrefs of the generated page links look correct and post them here?


etc_[ query | search | pagination | date | tree | cache ]

Offline

Board footer

Powered by FluxBB