Re: [SMARTY] share function and plugin modifier

From: Date: Wed, 15 Jan 2003 22:24:04 +0000
Subject: Re: [SMARTY] share function and plugin modifier
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-7213@lists.php.net to get a copy of this message
Le mer 15/01/2003 à 13:24, Juzan Jean-Michel a écrit : > Hi All, > > I have getImage modifier to get img src="imagename" and other properties > in a template > > In other modifier I whish to use the previous, is there a way to do > that? > > I see the use of > require_once $this->_get_plugin_filepath('shared','make_timestamp'); in > date_format modifier > > I mean to make a symbolic link to the modifier.getimage.php -> > shared.getimage.php > And use in the modifier modifier_getImage($ImgID) I gave up this way it is not obvious to make;). Moreover the plugin modifier was not adapted in the context, I changed it into plugin function and duplicated in shared function. -- Jean-Michel Juzan - Co-Fondateur jmjuzan@ecreasol.ch http://www.ecreasol.ch/ PGP public keys server : http://www.keyserver.net

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