Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2007-04-14 21:45:02
- Aleksandersen
- Member
- From: Lillehammer, Norway
- Registered: 2007-04-12
- Posts: 77
"if_home" and "if_section_page"?
Hi,
I have created an advanced design for my front page with different sections, and everything. My only problem is search result pages, section pages, and article pages. They do not work with the front page style!
Is there some way to use a spesific section just for the front page, and leave the default (for everything else)?
I also want to use spearate style for section pages, and the articles posted under that section!
Offline
#2 2007-04-14 22:13:29
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: "if_home" and "if_section_page"?
Under Presentation > Sections you can assign different pages and styles to sections.
Offline
#3 2007-04-14 22:56:37
- Aleksandersen
- Member
- From: Lillehammer, Norway
- Registered: 2007-04-12
- Posts: 77
Re: "if_home" and "if_section_page"?
I know that. But what I want to change is the section’s default page (list of all articles posted under that section), but not the articles.
Offline
#4 2007-04-14 23:34:34
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: "if_home" and "if_section_page"?
Is there some way to use a spesific section just for the front page, and leave the default (for everything else)?
No, not as you’re describing. You will want to create a second page that your sections use. You can also setup a separate section that is purely for searches.
But what I want to change is the section’s default page (list of all articles posted under that section), but not the articles.
There I am not at all understanding what you mean.
Offline
#5 2007-04-15 00:07:48
- Aleksandersen
- Member
- From: Lillehammer, Norway
- Registered: 2007-04-12
- Posts: 77
Re: "if_home" and "if_section_page"?
How to set up a section for searches?
I ment that /articles (section) should have one style, and /articles/the_article (article) should have another.
Offline
#6 2007-04-15 00:58:11
- Neko
- Member
- Registered: 2004-03-18
- Posts: 458
Re: "if_home" and "if_section_page"?
Aleksandersen wrote:
How to set up a section for searches?
You create a “search” section — or any other name you prefer — and point to it you search form action.
I ment that /articles (section) should have one style, and /articles/the_article (article) should have another.
Then you should use if_article_list for styling the section main page and if_individual_article for the single article (d’oh).
Last edited by Neko (2007-04-15 01:00:24)
Offline
Re: "if_home" and "if_section_page"?
Aleksandersen wrote:
Is there some way to use a spesific section just for the front page, and leave the default (for everything else)?
The default section is the one used for the front page, this is the way Textpattern works. Other sections can be include or excluded from frontpage view.
Offline
Re: "if_home" and "if_section_page"?
wet wrote:
The default section is the one used for the front page, this is the way Textpattern works.
Apart from the fact that the default section is also used for by-author browsing, and by-category browsing.
Offline
Re: "if_home" and "if_section_page"?
Aleksandersen wrote:
Hi,
I have created an advanced design for my front page with different sections, and everything. My only problem is search result pages, section pages, and article pages. They do not work with the front page style!
Is there some way to use a spesific section just for the front page, and leave the default (for everything else)?
Try glx_if It allows you to graciously separate the front page from the rest
Last edited by colak (2007-04-15 15:58:22)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Pages: 1