Author Topic: vlibTemplate_basic.php  (Read 867 times)

0 Members and 1 Guest are viewing this topic.

v!v

  • Guest
vlibTemplate_basic.php
on: Wed, 12. June 2002 - 17:58:00
When i want to test vlibTemplate_basic.php i get following errors:

Parse error: parse error, expecting `')'' in Eval code on line 1

Fatal error: Failed evaluating code: $this->_parseTag(array( ' ','<','var','name','msg','','','','',' ' )); in ../../vlibTemplate.php on line 1053

can you help me out?        thx

releasedj

  • Guest
vlibTemplate_basic.php
Reply #1 on: Thu, 13. June 2002 - 13:03:00
It sounds like a problem with the template, but thats strange as the version which is online works fine.. the template should be like this:

<html>
<
head>
  <
title><tmpl_var name="title"></title>
</
head>
<
body>

<
tmpl_var name=msg>

<
a href="./vlibTemplate_basic.php?showsource=1">show source</a>

</
body>
</
html>



You can also try debugging the template by using the vlibTemplateDebug class instead of vlibTemplate when you instantiate in vlibTemplate_basic.php, like this:

Code: [Select]
<?php
  $tmpl 
= new vlibTemplateDebug(templates/vlibTemplate_basic.html);
?>

_________________

Regards,
Kelvin

[ This Message was edited by: releasedj on 2002-06-13 13:05 ]
Last Edit: Tue, 25. July 2006 - 16:01:43 by ClausVB