Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2006-05-25 09:29:48
- chugs
- New Member
- Registered: 2005-07-22
- Posts: 2
Default page template problem
My homepage doesn’t seem to be using the default page template.
What I want on the homepage is an article each from 4 sections, for which I am using –
<code>
<txp:article_custom form=“form1” limit=“1” section=“section1” />
<txp:article_custom form=“form2” limit=“1” section=“section2” />
<txp:article_custom form=“form3” limit=“1” section=“section3” />
<txp:article_custom form=“form4” limit=“1” section=“section4” />
</code>
Is this the right way to go?
For some reason the homepage seems to be always using the archive page template and not the default page template.
PS
My sections are set to use the archive template.
I want to use sections instead of categories as there will be site-wide categories across sections.
Can somebody also clarify if I am right about the following –
*frontpage/homepage uses default page template
*section page uses as specified
*category page uses archive page template
*individual article page uses archive page template
*author page (for listing all articles by an author) uses archive page template
Thanks.
Offline
#2 2006-05-25 14:45:09
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Default page template problem
*frontpage/homepage uses default page template
In Presentation > sections you can set the page template to be used for the default section (= the frontpage).
If this is set to the default page template your tags should work.
*section page uses as specified
That’s right.
*category page uses archive page template
Category pages use the template set for your default section.
*individual article page uses archive page template
Individual article page uses the page template set for the section the article is in.
*author page (for listing all articles by an author) uses archive page template
To be honest, I don’t know (never used this myself).
Offline
Pages: 1