Re: [SMARTY-DEV] How to modify the Smartytemplate loding policy

From: Date: Tue, 25 Mar 2003 13:13:03 +0000
Subject: Re: [SMARTY-DEV] How to modify the Smartytemplate loding policy
References: 1  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-1018@lists.php.net to get a copy of this message
How about using a custom function? {insert} or define a custom tag. ----- Original Message ----- From: "luis" <luis@fuegolabs.com> To: "'luis'" <luis@fuegolabs.com>; "'Jason Sweat'" <sweatjejm@mchsi.com>; <aztek@box.sk> Cc: "'Smarty Dev'" <smarty-dev@lists.php.net> Sent: Tuesday, March 25, 2003 10:19 PM Subject: [SMARTY-DEV] How to modify the Smartytemplate loding policy > Well, I can answer myself, no. > If I have > display('foo.tpl'); > and foo.tpl {includes file='header.tpl'} > I need to look BOTH for foo.tpl and header.tpl in templates/$user and if > they are not found there in templates/ > If I redefine fetch then foo.tpl can be checked but fetch is not called > for the included header.tpl template. > Ideas?

« previous php.smarty.dev (#1018) next »