Re: SV: SV: [SMARTY] bug in block_function handling?
| From: | messju mohr | Date: | Fri, 22 Oct 2004 08:32:16 +0000 |
| Subject: | Re: SV: SV: [SMARTY] bug in block_function handling? | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-11912@lists.php.net to get a copy of this message | ||
On Thu, Oct 21, 2004 at 04:33:50PM +0200, Paolo Nesti Poggi wrote:
>
>
> > -----Oprindelig meddelelse-----
> > Fra: Monte Ohrt [mailto:monte@ispi.net]
> > Sendt: 21. oktober 2004 15:41
> >
> >
> > Paolo Nesti Poggi wrote:
> >
> > >If I understand you right Monte, following your email I don't
> > even need to
> > >register the block function provided that the plugin follows the naming
> > >convention for both the function name and the file name, even if
> > it doesn't
> > >resides in one of the the plugin directories.
> > >
> > >
> >
> > I didn't get that right. If the template function is not found in the
> > plugin directory it must be registered, and the registered function name
> > does not have to follow any convention.
> >
> > Monte
>
> Yes, thanks. I sent a message in response to messju on this to show that
> smarty gives still an error in one setup that now should be the one I need.
>
> I see that the error is the result of the return value of
> smarty_core_assemble_plugin_filepath, but I can't see why the cache setting
> should affect that.
do you register the plugin on each request? also on requests where
is_cached() is true?
> Paolo