Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2007-03-03 15:22:50
- morast
- Member
- Registered: 2007-03-03
- Posts: 14
individual_article on frontpage
Hi,
I try to create a toonblog for a daily comic.
On the frontpage there should only be seen the newest comic – including comments an prev/next-links.
I limited the number of shown articles to 1 by using
<txp:article limit=“1” />, which works well.
But when I want an article-list to be shown [e.g. all articles of a category oder of one month] I still can see only one article.
How can I differentiate between the article list that is always shown on the frontpage
and the article list that is generated while checking categories oder dates?
Or, in other words: Is there any possibility not to have an article_list on the frontpage but an individual_article?
My construction pages:
www.fonflatter.de
Offline
Re: individual_article on frontpage
Something like this perhaps:
<txp:if_category>
<txp:article />
<txp:else />
<txp:article limit="1" />
</txp:if_category>
Offline
#3 2007-03-03 16:24:42
- morast
- Member
- Registered: 2007-03-03
- Posts: 14
Re: individual_article on frontpage
Very nice. Thank you.
Too bad, that this solution doensn’t work for the upm_date_archive-plugin either…
Offline
Re: individual_article on frontpage
For the upm_date_archive plugin, you can ask questions here
Offline
Pages: 1