Re: [SMARTY] plugins_dir in unstable release

From: Date: Mon, 03 Mar 2003 23:43:26 +0000
Subject: Re: [SMARTY] plugins_dir in unstable release
References: 1 2 3  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8356@lists.php.net to get a copy of this message
In the template_c I see <td align=right><?php echo $this->_run_mod_handler('string_format', true, $this->_tpl_vars['Machines'][$this->_sections['Machine']['index']]['QteActuel'], '%d'); ?> </td> but in the outpout <td align=right>26.5499999997</td> Le mar 04/03/2003 à 00:14, Juzan Jean-Michel a écrit : > Le lun 03/03/2003 à 10:30, Hinrich Donner a écrit : > > On Monday 03 March 2003 02:46, Juzan Jean-Michel wrote: > > > > > seems in the unstable release $smarty->plugins_dir not work with array. > > > $smarty->plugins_dir = array > > > ($pathSmarty.'ecreasol-plugins',$pathSmartyLib.'plugins'); > > > > > > Fatal error: Smarty error: [in menuvertical.tpl line 4]: [plugin] > > > unknown tag - 'cycle' (Smarty.class.php, line 2545) in > > > /mnt/raid/local/phptools/smarty-unstable/libs/Smarty.class.php on line > > > 2654 > > > I need to have separate plugins directory for easy admin (work in > > > 2.4.2). > > > > > > What is the correct syntax to do that. > > > > I use trailing slashes and have no problems with this, > I try > $smarty->plugins_dir = > > array($pathSmarty.'/usr/local/phptools/smarty/ecreasol-plugins',/usr/local/phptools/smarty/libs/plugins'); > and > $smarty->plugins_dir = > > array($pathSmarty.'/usr/local/phptools/smarty/ecreasol-plugins/',/usr/local/phptools/smarty/libs/plugins/'); > > But seems not work, I have no error but for example string_format have > no effect, seems the plugin it's not load > > -- > Jean-Michel Juzan jmjuzan@ecreasol.ch > > Direction Informations & Technologies > eCreaSol - NetWork Creative Solutions SARL - > http://www.ecreasol.ch/ > > PGP public keys server : http://www.keyserver.net -- Jean-Michel Juzan jmjuzan@ecreasol.ch Direction Informations & Technologies eCreaSol - NetWork Creative Solutions SARL - http://www.ecreasol.ch/ PGP public keys server : http://www.keyserver.net

Attachment: [application/pgp-signature] signature.asc
« previous php.smarty.general (#8356) next »