Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-12-15 11:02:14

Alex007
Member
Registered: 2007-10-24
Posts: 57

Displaying pagination after a list of article in a category

Hi All

I have a section called ‘news’ with the following code

code
<txp:if_individual_article>
<txp:article limit=“1” form=“news” />
<h3 id=“othernews”>Other News</h3>
<ul class=“othernews”>
<txp:article_custom form=“news_list” section=“news” limit=“999” pgonly=“0” status=“4” time=“any” /> </ul>
<txp:else />
<txp:article_custom category=“Latest-News” limit=“4” form=“news” sort=“posted desc” />
</txp:if_individual_article>

<txp:if_article_list>
<div class=“paginationwrap”>
<txp:ob1_pagination firsttext=“First” previoustext=“Previous” nexttext=“Next” lasttext=“Last” ulclass=“pagination” />
</div>
</txp:if_article_list>
code

The problem I am getting is that it wont display the pagination, can anyone see what I am doing wrong?

Thanks
A.

Offline

#2 2007-12-15 11:53:34

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

Re: Displaying pagination after a list of article in a category

article_custom does not paginate. i believe you’ll have to use something like chh_article_custom (i’ve read that it allows pagination but i don’t use the plugin myself)

Offline

#3 2007-12-15 12:24:55

Alex007
Member
Registered: 2007-10-24
Posts: 57

Re: Displaying pagination after a list of article in a category

Thanks iblastoff

Just installed… but getting a load of errors! ;(

http://forum.textpattern.com/viewtopic.php?pid=165078#p165078

Offline

#4 2008-02-20 01:04:46

robhert
Member
From: Perú
Registered: 2007-04-27
Posts: 206
Website

Re: Displaying pagination after a list of article in a category

Hey!

Did you solve it?

Please, tell me how!

Offline

Board footer

Powered by FluxBB