Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2007-05-16 13:27:27
- slim
- Member
- From: California
- Registered: 2006-11-14
- Posts: 46
Featured Project
Hey all,
I am building a small site for a management company that has a fairly extensive backlog of previous experience on jobs they have done. They want to make sure that visitors to the site can see some of the key projects that this company has worked on.
I thought it would be cool to have an excerpt of a “featured project” on the front page, that would link to the actual project description in the appropriate section. I want the featured project to automatically change occasionally, like daily, weekly, etc.
Does TXP have a plugin that will do that?
Last edited by slim (2007-05-16 13:28:29)
Offline
Re: Featured Project
If you don’t mind it changing on each page reload, you could do something like this:
<txp:article sort="RAND()" limit="1" />
Last edited by ruud (2007-05-16 14:47:23)
Offline
Re: Featured Project
If it’s to be changed manually, maybe make the front page show articles that are set to status="sticky"
. Your authors then only need to set the articles for the projects they wish to highlight to a status of sticky.
(Only thing you have to watch out for is making sure they are still listed on the project overview pages).
TXP Builders – finely-crafted code, design and txp
Offline
Pages: 1