Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-02-18 11:28:32

Subfusion
New Member
From: Spain
Registered: 2006-02-18
Posts: 2
Website

New to Textpattern

I just installed Textpattern on my website and it’s looking great. I’m soon going to be launching a new portal and I would like to use Textpattern, I have no idea how to use it, but I wanted to know if Textpattern could do the following which is the most basic for my upcoming website.

I’m going to have a website with two main sections, once named articles and one named interviews. What I want to do is let’s say if I make a category called Articles and another one called Interviews, when I post an article to one of these sections can I code my template so it picks up all the posts for each category depending on the page it’s meant to be displayed?

Also, if I make a little news panel on my website, can I add posts under the News category without the news category posts being displayed on the Articles or Interviews section?


[url=http://www.devlounge.net]Devlounge[/url] – A great resource for web developers.

Offline

#2 2006-02-18 12:26:29

Jeremie
Member
From: Provence, France
Registered: 2004-08-11
Posts: 1,578
Website

Re: New to Textpattern

Yep, it’s even the default mode of Textpattern. What you need is what TXP calls “sections”. Each article is in only one section, and each section (the list of articles within that section, but the article themselves too) can have its own page template, design, URL, and so on.

No problem.

Offline

#3 2006-02-18 13:20:20

Subfusion
New Member
From: Spain
Registered: 2006-02-18
Posts: 2
Website

Re: New to Textpattern

Do I have to use a plugin to achieve this or can it be done with a simple PHP statement on my template? Also, is there any documentation or guide that can teach me how to do what I want to achieve?

Thanks for your help!


[url=http://www.devlounge.net]Devlounge[/url] – A great resource for web developers.

Offline

#4 2006-02-18 13:24:03

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

Re: New to Textpattern

Do I have to use a plugin to achieve this or can it be done with a simple PHP statement on my template?

No PHP, tags.

Also, is there any documentation or guide that can teach me how to do what I want to achieve?

Manual, tag examples.

Offline

Board footer

Powered by FluxBB