Search found 2 matches

by trahma
Thu 19. Feb 2004, 23:57
Forum: phpwcms Support English
Topic: Using a .php file as a template
Replies: 3
Views: 2263

I've been working on putting my website into the template system phpwcms uses but have come to another pitfall.

It appears I can't use the {PHP} tag within the header block. I actually need to send out the php code session_start() at the top of the file. How should I go about doing this?
by trahma
Thu 19. Feb 2004, 15:13
Forum: phpwcms Support English
Topic: Using a .php file as a template
Replies: 3
Views: 2263

Using a .php file as a template

After reading the documentation on how the template system is built, am I correct in seeing that I can't use a separate .php file? Ideally I'd like to keep a separate file as a template. Did I miss something or is this not possible?