Path for resources on templates! (graphics related) and a javascript question.

From: Date: Fri, 08 Nov 2002 01:43:20 +0000
Subject: Path for resources on templates! (graphics related) and a javascript question.
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6362@lists.php.net to get a copy of this message
Hi, I´m having some trouble convincing graphic designers to work with templates. The main reason being that their wysiwyg editors don´t display the images they are working with because smarty uses path relatives to the file that called the image not the template file… Can anyone tell me how can I change this behavior and still use compiled templates?? One idea I had is to use path relatives to the site root on wysiwyg programs and add something like src=”{$path_from_root} /img/image.gif” Another issue I’m having is with images roll-overs, since I have to preload images separate for each page, so I will have to manually edit some constants to specified witch to load depending on the current page. It will be great to be able to do it from dreamweaver or golive, and still being able to separate parts of the page ie. Header.tpl body.tpl footer.tpl, Any reply will be apreciated!!!! :-) NPM

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