Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Use <txp:yield/> inside <txp:php>
I just stopped using smd_macros and started to achive the same with outputforms. Which works pretty well. Up to the point where in my outputfrom I need to use some php.
Unfortunately
<txp:php>echo = '<txp:yield name="something"/>'; </txp:php>
(this is just a simple example)
does not work.
With smd_marcos I could do
<txp:php>echo = '{something}'; </txp:php>
though.
Is there any workaround for that?
Offline
Re: Use <txp:yield/> inside <txp:php>
You must parse it:
<txp:php>echo parse('<txp:yield name="something" />');</txp:php>
Offline
Re: Use <txp:yield/> inside <txp:php>
That worked! Thanks a lot.
Offline