Re: Re[2]: [SMARTY] Path for resources on templates! (graphics related) and a javascript question.

From: Date: Fri, 08 Nov 2002 03:46:00 +0000
Subject: Re: Re[2]: [SMARTY] Path for resources on templates! (graphics related) and a javascript question.
References: 1 2  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6367@lists.php.net to get a copy of this message
What I said below is equivalent, but not what I intended to say ;) What I meant to say, was make a symbolic link in the template directory to the image _directory_. So if you have /path/filecallingsmarty.php /path/img /path/templates in /path/templates you could ln -s ../img img creating a symbolic /path/templates/img and making all WISIKWYG editors happy :) Sorry for the confusion. Jason ----- Original Message ----- From: "Bertrand DUNOGIER" <bdunogier@wanadoo.fr> Cc: <smarty-general@lists.php.net> Sent: Thursday, November 07, 2002 6:42 PM Subject: Re[2]: [SMARTY] Path for resources on templates! (graphics related) and a javascript question. > >> 2. My personnal answer: if your webserver is a linux / unix one, you > >> can set a symbolic link from the document root to the templates path > >> and the WYSIWYG crap will not see the difference :) > smc> Or create a symbolic link in your template directory > smc> back to the image files and they should appear > smc> correctly... > Isn't it the same thing ? :) > > > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.smarty.general (#6367) next »