Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Current official line on use of <txp:php>
Hi, developers and people much smarter than me.
I recently asked a question around the subject of using php
(the Textpattern tag, not the language) in Textpattern.
My understanding was that the php
tag is deprecated as it throws up a message to that effect whenever I use it in Testing mode. Jukka has corrected me and although I’m pleased php
isn’t currently deprecated, it would be great to have some official clarification on its status.
Thank you in advance.
Offline
Re: Current official line on use of <txp:php>
The php tag is not deprecated, and is not going to be deprecated in the seeable future. There is no deprecation message in place for it either.
What you may be seeing is an error caused by the code wrapped in the tag, or depending on the Textpattern version, the warning could be about a raw PHP block (<?php ?>
) which were deprecated ages a go, and are no longer with us.
Last edited by Gocom (2013-04-25 10:44:49)
Offline
Re: Current official line on use of <txp:php>
Mea culpa – I had my wires crossed after a late night.
Thanks again for the clarification, Jukka.
Offline