HTML_Template_IT question

From: Date: Thu, 07 Dec 2006 12:30:15 +0000
Subject: HTML_Template_IT question
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-26006@lists.php.net to get a copy of this message
Hi, I have a question about HTML_Template_IT package. Is it possible to use the template also for pages without variables? I would like to load the template and be able to parse it even if there isn't any block/variable in it. I just need the content of the file.. I could use the php function file_get_contents(), but I prefer use the same way to load templates. If I load a template that doesn't have any block/variable then its content ($tpl->get()) is empty. Many thanks, Mauro

« previous php.pear.general (#26006) next »