Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » txp output form

#1 2006-08-17 00:59:40

Victor Lazarro
Member
From: Berlin
Registered: 2006-06-14
Posts: 127
Website

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

#2 2006-08-17 10:28:41

NickML
Member
From: Scotland
Registered: 2006-05-14
Posts: 58
Website

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

  1. Index
  2. » Archives
  3. » txp output form

Board footer

Powered by FluxBB