Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Article Lists
Hi
I need to produce a list of article titles.
I have been using RSS Suparchive but the offset feature doesn’t work (not sure why).
I have a large number of sections and wish to exclude only 5 or 6 making it tricky to use article_custom.
Does anyone know
a) a way to fix rss_suparchive.
b) another plugin that might do what I want.
c) another way of doing this using native txp.
Thanks
There are 10 types of people in the world: those who understand binary, and those who don’t.
Offline
Re: Article Lists
Solved this using c)
Used <txp:article_custom /> to call a form.
In the form I used <txp:if_article_section > to check if it’s one of sections which I don’t want outputting.
There are 10 types of people in the world: those who understand binary, and those who don’t.
Offline
Re: Article Lists
Just be aware that any counts would be off. If your limiting the number of articles or displaying a count or pageing.
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
Re: Article Lists
Thanks Matt,
I did notice this happening.
I use articles to produce adverts with an expiry date (very useful).
I can however set the publishing date to say 2006 which stops the ads appearing in my recent article lists.
Thanks
There are 10 types of people in the world: those who understand binary, and those who don’t.
Offline
Re: Article Lists
geoff777 wrote:
I have a large number of sections and wish to exclude only 5 or 6 making it tricky to use article_custom.
<txp:article_custom section='
<txp:section_list exclude="section1,section2" break=",">
<txp:section />
</txp:section_list>
' />
(line breaks added for clarity)
I’m sure I learned that from Els, but I can’t remember in which thread.
Last edited by jsoo (2009-07-23 11:15:53)
Code is topiary
Offline
Re: Article Lists
Thank you jsoo,
I was unaware of the exclude option of section_list.
This will work perfectly.
Don’t you just love textpattern!
:-)
There are 10 types of people in the world: those who understand binary, and those who don’t.
Offline
Pages: 1