Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2009-03-05 16:06:33
- Plaz
- Member
- From: Minnesota
- Registered: 2004-06-02
- Posts: 33
Is there a way to do If_Section name is NOT?
I want to place a link to the main, home page on every section that is NOT in my “index_page” section. Is there a simple way to do this without having to list all the sections in a “If_section” tag?
Ideally, I’m looking for a simple way to say:
<txp:if_section name is not=“index_page”>
Link to home here
</txp:if_section>
If you want something you have never had, then you must be willing to do something you have never done.
Offline
#2 2009-03-05 16:09:44
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Is there a way to do If_Section name is NOT?
<txp:if_section name="index_page">
<!-- nothing here -->
<txp:else />
Link to home here
</txp:if_section>
Offline
#3 2009-03-05 16:17:38
- Plaz
- Member
- From: Minnesota
- Registered: 2004-06-02
- Posts: 33
Re: Is there a way to do If_Section name is NOT?
Perfect! Thanks so much!
If you want something you have never had, then you must be willing to do something you have never done.
Offline