Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
txp output form
hi there,
i like to use a form for different sidebars, this code is in the body …
txp:if_category name=“poker”>
txp:output_form form=“sidebar-poker” />
/txp:if_category>
txp:if_category name=“shows”>
txp:output_form form=“sidebar-shows” />
/txp:if_category>
txp:if_category name=”“>
txp:output_form form=“sidebar-1” />
/txp:if_category>if i try this so, it dosnt work … is there something wrong ??
thx
good magic is better than sex, but harder to find …
http://www.lazarro.de
Offline
Re: txp output form
Are you calling these forms from within an article form ? Otherwise, I don’t think “if_category” will ever match, since it’s article-dependent. (I’m assuming the preceeding “<” on each line is in your code…)
~Nick
Offline
#3 2006-08-18 01:05:48
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: txp output form
if_category toggles if you’re viewing a category list. if_article_category toggles with the current article categories.
Offline
Pages: 1