Forums / Cotonti / Support / [XTemplate]

djmadclass
#11955 2009-05-01 22:57
any idea why im getting this parse error.

[XTemplate]
    * parse: blockname [HEADER] does not exist

[XTemplate]

    * parse: blockname [FOOTER.USER] does not exist

    * parse: blockname [FOOTER] does not exist

i dont get this error on seditio. here the plugin code.

<?PHP
/* ====================
Seditio - Website engine
Copyright Neocrome
http://www.neocrome.net

[BEGIN_SED]
File=plugins/notifications/notifications.header.php
Version=
Updated=
Type=Plugin
Author=
Description=
[END_SED]

[BEGIN_SED_EXTPLUGIN]
Code=notifications
Part=
File=notifications.header
Hooks=header.tags
Tags=
Minlevel=0
Order=10
[END_SED_EXTPLUGIN]

==================== */

if (!defined('SED_CODE')) { die('Wrong URL.'); }

if ($e=='notifications') {
$mskin = "plugins/notifications/notifications.header.tpl";
$t = new XTemplate ($mskin); } 


?>