Home »
FUDforum »
How To »
Undefined template: "TEMPLATE"
Undefined template: "TEMPLATE" [message #20097] |
Sun, 26 September 2004 01:36 |
Abraxa
Messages: 72 Registered: August 2004 Location: Germany
Karma: 0
|
Member |
|
|
Heya peeps =)
I wanted to generate a more dynamic header and thus added
{PHP_FILE: input: header.php.t; output: header.php;}
into /thm/default/header.tmpl. Now my problem is that regardless of the contents of /src/header.php.t, FUDForum aborts the compilation of the theme with
Quote: | Undefined template: "TEMPLATE" inside "header_plain"
|
when I didn't even touch the template file itself besides adding the PHP_FILE line.
At first I had the full comments in the header.php.t file with proper $Id line as well and PHP opening/closing tags but then I made the file 0 bytes and the error message still appears.
Does anyone of you have any idea why this is happening? I've done lots of trial-and-error but I'm out of luck...
-Soeren
[Updated on: Sun, 26 September 2004 01:37] Report message to a moderator
|
|
|
Re: Undefined template: "TEMPLATE" [message #20102 is a reply to message #20097] |
Sun, 26 September 2004 19:36 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
the header.tmpl template files must define 2 sections header (regular header) and header_plain (for popups etc...) which is a simpler header.
FUDforum Core Developer
|
|
|
Goto Forum:
Current Time: Thu Nov 28 03:22:59 GMT 2024
Total time taken to generate the page: 0.03250 seconds