Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
4.6.2: <txp:section /> becomes <txp:section />
Hi,
since I upgraded to Textpattern 4.6.2 yesterday, <txp:section />
used in a form (in this case: my header form) does not output the name of the current section but instead <txp:section />
.
However, since I’m using this to assign a CSS class, this didn’t work any longer.
The workaround is to add title="0" link="0"
, but this should not be necessary.
My complete, working command is now: <txp:section link="1" title="1" class="<txp:section title="0" link="0" />" />
Is this a bug? This does not say anything about it.
Best,
Alex
Last edited by ar (2016-11-07 09:41:43)
Offline
Re: 4.6.2: <txp:section /> becomes <txp:section />
Use single quotes for tags-in-attributes, otherwise they won’t be parsed correctly:
<txp:section link="1" title="1" class='<txp:section />' />
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Re: 4.6.2: <txp:section /> becomes <txp:section />
Alright, thank you!
Offline