[PHPTAL] no error when var is not set ?

GRolf gerolf at pictureparking.com
Thu May 14 16:28:11 CEST 2009


When I create a simple template, but don't assign a value to all
variables in the template, PHPTal throws an error. Is there a way to
prevent this?

I'd like to create some placeholders, where I can set variables, but
they won't all be filled every time.

e.g.

<head>

<title tal:content="pagetitle"></title>

</head>

It should also be possible to render this page without setting
$title...




More information about the PHPTAL mailing list