Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-10-04 16:47:41

maland
Member
Registered: 2005-07-30
Posts: 19

Pages Question

I based my layout off of the Kubrik 3 column layout. The layout is working fine but when i click anything, link to article, read comments, etc it just goes back to the same homepage layout. i’m sure i need to add another page layout and point them to it but i’m unsure of how to do that. any comments or ideas on how I can get this working?

See my site here

thanks!
malan d.

Offline

#2 2006-10-04 22:05:35

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: Pages Question

What does your page template look like? You’ll need to use some conditionals, like:

<code>
<txp:if_article_list>
<p>We are on an article list.</p>
<txp:article limit=“3” />
<txp:else />
<p>Here’s a single article:</p>
<txp:article />
</txp:if_article_list>
</code>

Offline

#3 2006-10-05 15:12:02

maland
Member
Registered: 2005-07-30
Posts: 19

Re: Pages Question

yeah but normally the default install (i’ve made several tx sites) allows each post to have it’s own page, so if you post an article with an excerpt you can click ‘continue reading’ and get to the full article… on a different page. for some reason, every page on the this site has the same template as the homepage.

man, this has never happened. i’m sure i’m just missing something so simple. is it the archive page template i should be looking at?

hmmm.
md

Offline

Board footer

Powered by FluxBB