Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: [solved] Parsing interleaved tags
Steve, Uli and Oleg – thank you very much for your input. This has been a really useful thread.
The crux of the issue seems to be that the unmatched tag is dropped, which makes sense when I think about it, but I hadn’t even thought of that.
The reasoning behind the if_plugin
tag was to make it optional, and short of reengineering my form and page structures, I could just remove the if_plugin
tags and make the plugin required. The pragmatic approach, if a little less elegant, will do just fine for now.
And who bet money on etc_query
being able to solve the problem? Every. Single. Time.
Last edited by gaekwad (2014-01-07 21:53:15)
Offline
Offline
Re: [solved] Parsing interleaved tags
gaekwad wrote #277893:
And who bet money onetc_query
being able to solve the problem? Every. Single. Time.
You ‘ve lost could have won :P
<txp:etc_query data='<txp:if_plugin name="rah_replace">1</txp:if_plugin>' parse="">{%<}txp:rah_replace from=" ,
" to=""></txp:etc_query>
...exciting stuff...
<txp:etc_query data='<txp:if_plugin name="rah_replace">1</txp:if_plugin>' parse="">{%<}/txp:rah_replace></txp:etc_query>
Last edited by etc (2014-01-08 14:52:07)
Offline