Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-06-19 11:23:10

tkn
Member
From: New York
Registered: 2004-06-29
Posts: 39
Website

Have article use a different page layout than default

I have been hacking away at the Hemingway template which is generally pretty great except that when I do a category specific selection, it will only display the two articles set up in the default page. What I want it to do is to use the Archive page instead which has a much different layout. Is there a way to have this happen or will I need to massively replicate the entire Archive page in a nested conditional in the default page?

Offline

#2 2006-06-19 11:56:31

Elenita
Member
From: Falls Church, VA
Registered: 2004-05-16
Posts: 407
Website

Re: Have article use a different page layout than default

I’m afraid there will have to be some conditional work involved. <a href=“http://textpattern.net/wiki/index.php?title=Default_page_and_Front_page_separated”>Category pages use the default template</a> and there is no way to assign it a different one at present.

Offline

#3 2006-06-19 12:17:05

tkn
Member
From: New York
Registered: 2004-06-29
Posts: 39
Website

Re: Have article use a different page layout than default

If I am willing to dive into the hard code and change the default behaviour, would anyone have a suggestion as to what needs be changed? I would rather the category acted like a search than the default behaviour.

Offline

#4 2006-06-19 13:34:26

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

Re: Have article use a different page layout than default

Offline

#5 2006-06-19 21:10:21

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Have article use a different page layout than default

I would rather the category acted like a search…

Uh, it does. ?

Offline

#6 2006-06-19 23:23:44

tkn
Member
From: New York
Registered: 2004-06-29
Posts: 39
Website

Re: Have article use a different page layout than default

Well I figured out another way to get what I want, but what I meant was that it would use the search results page…

Offline

Board footer

Powered by FluxBB