Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
1 article on main page
ok ive tried adding new pages and limiting to 1 article rearranging pages here and there ….. but then when i click on a category it only shows 1 article instead of all…… im not sure what else to do can i get some help? i want to have just 1 article on the front page (like an intro page) but the rest to have more then 1 article in view
Offline
#2 2006-07-14 21:50:40
- NyteOwl
- Member

- From: Nova Scotia, Canada
- Registered: 2005-09-24
- Posts: 539
Re: 1 article on main page
Perhaps something like:
<code>
<txp:if_section name=”“>
<txp:article limit=“1” />
<txp:else />
<txp:article /> <
</txp:if_section>
</code>
<br />
Obsolescence is just a lack of imagination. / 36-bits Forever! / #include <disclaimer.h>;
Offline
Re: 1 article on main page
Using the glx_if plugin
<code>
<txp:glx_if_frontpage>
<txp:article limit=“1” />
<txp:else />
<txp:article limit=“10” />
</txp:glx_if_frontpage></code>
In this way yoursite.com page will have 1 article yoursite.com/?pg=1 will have 10
Last edited by colak (2006-07-15 07:47:41)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Pages: 1