Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-12-02 16:56:29

richtestani
Plugin Author
Registered: 2009-11-08
Posts: 128

Why doesn't this work?

<txp:article_custom listform="section" section="<txp:section />" />

When I use the above, nothing outputs, but if I use a literal value its fine.

Offline

#2 2009-12-02 17:25:20

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: Why doesn't this work?

You have to use single quotes when nesting txp tags inside txp tags.

<txp:article_custom listform="section" section='<txp:section />' />

[edited to correct the textiled double quotes —Ruud]


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

Board footer

Powered by FluxBB