Re: includes with latest Flexy 0.5.1

From: Date: Thu, 09 Oct 2003 01:59:13 +0000
Subject: Re: includes with latest Flexy 0.5.1
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-8356@lists.php.net to get a copy of this message
While including from a template is discouraged.. - as it's a little magical.. (eg. it compiles the template if required..) it should now be supported in CVS by a) enabling it as a function in the ini file/config array valid_functions = "include" b) the syntax is the same as a method. {include(#xxxx.html#)} The only shame is that no one is volunteering to write docs yet ;) Regards Alan Demian Turner wrote:
Hi I'm sure I'm missing something really obvious with the latest Flexy: how do you now include files, ie, embedded templates, without using the regex parser. pear info html_template_flexy reveals a "HTML_Template_Flexy_Token_Include" but I can't see how to call this. cheers Demian
-- Can you help out? Need Consulting Services or Know of a Job? http://www.akbkhome.com

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