Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Override form only on frontpage
Is it possible to use a different article form ónly on the frontpage, so it’s displayed as a listform? Because when I select a form from the override form-dropdown, it also changes the view on the single-article page.
Is there a way to solve this? A plugin maybe?
Offline
Re: Override form only on frontpage
allowoverride="0"
manual
Offline
Re: Override form only on frontpage
thanks for your reply, but that prevents from using a different form on the frontpage, and displays the single article with the different form. But I want it the other way around.
Offline
Re: Override form only on frontpage
well maybe you shouldn’t use form overrides in the first place. are you aware of this (i’m not really sure how deep you’re into the concept of textpattern but what you want can easily be achieved in numerous ways, without plugins)
Offline
#5 2008-04-02 12:19:49
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Override form only on frontpage
Just define the form you want on your default page? If you share that page with other sections, then make use of if_section as well.
Offline
Re: Override form only on frontpage
sthmtc wrote:
well maybe you shouldn’t use form overrides in the first place. are you aware of this (i’m not really sure how deep you’re into the concept of textpattern but what you want can easily be achieved in numerous ways, without plugins)
thanks, that should do the trick I guess
Offline
Re: Override form only on frontpage
is it also possible to display the listform of one particular section differently than the other posts on the frontpage? So I can style posts from that section differentlty. And if so, can I also style them based on a category?
when I place on of the if_section or if_category tags in the default form, it only displays the code when your already in the /section instead of also displaying it on the frontpage.
Offline
#8 2008-04-02 19:40:53
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Override form only on frontpage
Use if_article_section and if_article_category in the article form.
Offline
Pages: 1