Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-01-22 08:10:57

WebKat
Member
Registered: 2007-01-16
Posts: 301

Front page of the site is...?

Right now if you go to my top level you get a list page of the most recent articles I’ve posted. I want that to be not just a category page (my category pages show list in excerpt form, and that is how I want them to be) but rather to show a few sticky articles and perhaps an excerpt of the most recent 2 or 3 articles. Problem is I don’t know how to do that. :X (I know you can set articles to “sticky” that isn’t the problem). Can someone help/point me to a relevant TextBook/Faq page, etc?



WebKat

Offline

#2 2007-01-22 14:49:40

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,168
Website GitHub Mastodon Twitter

Re: Front page of the site is...?

glx_if_frontpage should help


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#3 2007-01-22 15:35:11

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Front page of the site is...?

Or without plugin:

<txp:if_section name="">
<txp:if_category>
here your article tag for the category pages
<txp:else />
<txp:article status="sticky" />
<txp:article limit="3" />
</txp:if_category>
</txp:if_section>

If you are using the default page template only for section default, then you can leave the if_section tags out of course.

Offline

Board footer

Powered by FluxBB