Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Does TXP play well with raw PHP?
Hello all. I have developed many sites with textpattern. I am not a developer but I do work with an excellent Dev team.
I have a large site that requires tons of custom PHP, includes etc. This is something I’ve never personally had to deal with when using textpattern but It is my responsibility to research.
What are my limits when including raw php in my textpattern site? Any thoughts or advice?
It’s been a while since I’ve used textpattern but 4.2 looks rockin.
Art Rogue – Fine Art Photography
Offline
Re: Does TXP play well with raw PHP?
I didn’t met any restrictions while using php. If you have a lot of code, you probable will like to use <txp:php>include('path/to/script.php')</txp:php>
Last edited by the_ghost (2010-04-02 17:21:53)
Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?
Offline
Re: Does TXP play well with raw PHP?
The <txp:php>include(‘path/to/script.php’)</txp:php> works great. With Perl too. I use it lots – no problems.
Offline
Re: Does TXP play well with raw PHP?
Thanks everyone. Compatibility is everything to this project. I’m trying to avoid wordpress cause I think textpattern is the right choice. I need to make the devs happy.
Art Rogue – Fine Art Photography
Offline
Re: Does TXP play well with raw PHP?
Don’t forget rah_function – i’ve used it a couple of times already for snippets of PHP that I need here or there and it works great.
Last edited by andrea (2010-04-05 16:09:35)
Offline
Pages: 1