Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2014-03-29 17:12:41
- eritropel
- Member
- From: Hamburg
- Registered: 2009-08-27
- Posts: 26
[solved] nested Tags not parsed correct
Hi,
I try to call the default TXP “File”-Form. The ID is stored in an variable.
This is my code:
<txp:file_download form="files" id='<txp:variable name="MC_PDF_ID" />' />
with this txp-output:
<p><txp:file_download form="files" id='15‘ /></p>
the value of the var is 15, so the first two characters are correct.
But wether I try double quotes or single quotes: nothing will work.
Any help or ideas would be great.
Last edited by Gocom (2014-03-29 17:22:58)
Offline
Re: [solved] nested Tags not parsed correct
Articles bodies use Textile formatting. You must escape any Textile syntax conflicting instances, i.e. Textpattern’s tag markup, so that they aren’t parsed and formatted by it.
==<txp:file_download id='<txp:variable name="foobar" />' />==
For inline instances, or:
notextile. <txp:file_download id='<txp:variable name="foobar" />' />
To disallow Textile on a whole paragraph.
Offline
#3 2014-03-29 17:28:58
- eritropel
- Member
- From: Hamburg
- Registered: 2009-08-27
- Posts: 26
Re: [solved] nested Tags not parsed correct
This was really fast help! It works. Thankyou!
Offline