Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Search found 3 matches
Smarty Forum Index
Author Message
  Topic: $smarty -> register -> defaultPluginHandler() does not
tundracomp

Replies: 4
Views: 8546

PostForum: Smarty 3   Posted: Thu Nov 18, 2010 5:37 am   Subject: Better patch
This better patch integrates a bit deeper into smarty and loads functions, modifiers, compiler functions, compiler modifiers, resources and filters on demand when needed. Additionally it integrates wi ...
  Topic: $smarty -> register -> defaultPluginHandler() does not
tundracomp

Replies: 4
Views: 8546

PostForum: Smarty 3   Posted: Sun Oct 24, 2010 5:12 am   Subject: Patch
The following tiny patch can be applied on the sysplugins/smarty_internal_templatecompilerbase.php and solves this problem:


299,304c299,308
< $filename = $this->smarty->loadPlug ...
  Topic: $smarty -> register -> defaultPluginHandler() does not
tundracomp

Replies: 4
Views: 8546

PostForum: Smarty 3   Posted: Sat Oct 23, 2010 5:23 am   Subject: $smarty -> register -> defaultPluginHandler() does not
Hi everyone,

If I get it right then
$smarty -> register -> defaultPluginHandler($function)
should register a smarty function which is called in case Smarty cannot find a plugin by itsself.. ...
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP