Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-12-14 05:29:48

treofive
New Member
Registered: 2006-11-29
Posts: 4

I Cant Get if_section to Work!!!

this is driving me crazy!
I have one page template. and im trying to change the headers based on the Sections that im. here is my code.

<txp:if_section section="Help"> <h1>Help</h1> </txp:if_section>

and whenever im in the section Help it doesnt show up. Regardless of the section it doesnt show up.

PLEASE HELP!!!

Offline

#2 2006-12-14 05:36:55

variaas
Plugin Author
From: Chicago
Registered: 2005-01-16
Posts: 402
Website

Re: I Cant Get if_section to Work!!!

use the attribute “name” not “section”

<txp:if_section name="Help"> <h1>Help</h1> </txp:if_section>

Offline

#3 2006-12-14 05:43:52

treofive
New Member
Registered: 2006-11-29
Posts: 4

Re: I Cant Get if_section to Work!!!

Changed the code to this

<txp:if_section name="Sermones"> <h1>Help</h1> </txp:if_section>

still nothing. Is there a setting that could stop this from working. im hosting on dreamhost.
im coming back to textpattern and i know plenty of people use this code and i remember using it without problems.

Let me know what you guys think…

THANKS!!!

Offline

#4 2006-12-14 05:46:08

treofive
New Member
Registered: 2006-11-29
Posts: 4

Re: I Cant Get if_section to Work!!!

UPDATE!!!!!!

name=“Name” has to be name=“name”

Capital letters arent allowed

Offline

#5 2006-12-14 07:08:13

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: I Cant Get if_section to Work!!!

Excitable, aren’t you? Tone it down on the exclamation points and all-caps please.

Offline

Board footer

Powered by FluxBB