Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2010-08-05 20:20:43
- neokultur
- Member
- Registered: 2005-09-23
- Posts: 43
a tag inside another <label <label>>
I installed a plugin and you know sometimes the label to make it works within the “body” is something like
<txt:myplugin instru1=“para1”…>
The point is that I pass as a parameter <txp:title /> label, but it seems that when I do this, the plugin does not recognize it … Something like:
<Txt: MyPlugin instru1 = “<txp:title />”>
I think it does not recognize it because it is a tag inside another <label <label>>
There is a way to concatenate these labels? Create something like <label + <label> + >
Or you can save the label <txp:title /> in a parameter and then pass it to the plugin?
Last edited by neokultur (2010-08-05 20:23:01)
Offline
Re: a tag inside another <label <label>>
If you are using Textile remember to excape it if it causes problems by converting the characters.
notextile. <txp:bar foo='<txp:foo />' />
If you are using the attribute value parsing feature of TXP (using tags-in-tags), you need to use single quotes (that is if your plugin doesn’t run parser by itself) as in the example above.
More in TXP.com’s weblog: Textpattern.com / Weblog / Tag Parser – part 1: New Features
Offline
#3 2010-08-06 00:12:31
- neokultur
- Member
- Registered: 2005-09-23
- Posts: 43
Re: a tag inside another <label <label>>
notextile.!!!!!
Thanks a lot!
Offline
Pages: 1