Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2007-03-01 22:19:54
- lukeinjax
- New Member
- Registered: 2007-03-01
- Posts: 1
PHP in included page
I have a template in which I’m using an include (<txp:php>include(getcwd() . “/files/includes/hero.php”);</txp:php>), but I also have php code inside of the included page. I have tried putting it in <txp:php> tags and also have tried leaving it inside of regular php tags, but it’s not getting executed. Anyone have an idea why? Can you not put php code inside of an included page in textpattern?
Offline
#2 2007-03-02 11:19:54
- Neko
- Member
- Registered: 2004-03-18
- Posts: 458
Re: PHP in included page
I’m sorry, maybe I’m just bullshitting, but can’t you use TXP forms instead of php includes?
Offline
Pages: 1