FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Undefined template: "TEMPLATE"
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Undefined template: "TEMPLATE" [message #20097] Sun, 26 September 2004 01:36 Go to next message
Abraxa is currently offline  Abraxa   Germany
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 Go to previous message
Ilia is currently offline  Ilia   Canada
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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: How to... Change User Profile Link colour to bold
Next Topic: problem with attachments
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 20:51:36 GMT 2024

Total time taken to generate the page: 0.01973 seconds