Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-04-02 15:54:15

mattmikulla
Member
From: Nashville Tennessee
Registered: 2004-08-25
Posts: 281
Website

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

#2 2010-04-02 17:20:58

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

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

#3 2010-04-02 21:30:59

towndock
Member
From: Oriental, NC USA
Registered: 2007-04-06
Posts: 335
Website

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

#4 2010-04-02 21:43:00

mattmikulla
Member
From: Nashville Tennessee
Registered: 2004-08-25
Posts: 281
Website

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

#5 2010-04-05 16:08:23

andrea
Member
From: la la land
Registered: 2004-02-24
Posts: 62
Website

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

Board footer

Powered by FluxBB