Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2007-03-13 21:36:48
- JamesB
- New Member
- Registered: 2007-03-13
- Posts: 3
Displaying 2 types of article
On my home page i want to display 2 types of article, one which is a normal blog post with comments etc. but underneath that another list of articles of recent projects with an image and a small description.
If you go Here you should be able to see what i mean.
Can anyone tell me the steps/code i need to aceive this
Thanks, James
Offline
#2 2007-03-13 22:25:48
- Joey
- Member
- From: Netherlands
- Registered: 2005-01-19
- Posts: 257
Re: Displaying 2 types of article
Simply create two different sections, one “blog”-section and one “projects”-section. You then can include articles from both sections in the homepage using the txp article custom tag with the attribute “section”. Don’t forget to activate the section to be displayed on the front page.
Regards,
Joey
Offline
#3 2007-03-14 10:43:35
- JamesB
- New Member
- Registered: 2007-03-13
- Posts: 3
Re: Displaying 2 types of article
Thanks alot, it works great after some playing with some if_section tags
James
Offline
Pages: 1