Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
archive page with paging
Hi!
I will love to get some help here please.
I’m trying to make an archive page for my news with paging but it’s not working for me
here is my code, what I’m missing please?
<txp:article allowoverride="0" form="news_archive" limit="20" pageby="20" section="news" pgonly="0" status="4" />
I got my “archive” page
my news articles are poblished into “news” section,
and I made a form for the archive “news_archive”,
and I want to show only 20 articles per page limit="20" pageby="20"
.
and for some reason I got not even one article when I’m viewing my page.
Thanks :)
Offline
Re: archive page with paging
Unfortunately you can’t use the article tag like this. It will only ever display the current section. To set a section for it, you need article_custom, but, as memory serves, you can’t paginate article_custom.
Maybe rss_suparchive might help
Offline
Re: archive page with paging
many thanks!
rss_suparchive
works great!!!
:)
but the only think that don’t work is if you put the newer&older links above the rss_suparchive
tag they don’t work!
I must put them under the tag, like this:
<txp:rss_suparchive section="news" form="news_archive" limit="20" status="4" allowoverride="0" />
<txp:older><txp:text item="« older" /></txp:older>
|
<txp:newer><txp:text item="newer »" /></txp:newer>
so it’s ok, but it’s limit my design
I want to put the links at the top of the list and at the bottom, so now they are only at the bottom of the list.
but listen it’s better then nothing! so again thanks!
Last edited by THE BLUE DRAGON (2008-04-05 16:46:22)
Offline
Pages: 1