Re: [SMARTY] UGH :-/

From: Date: Sun, 05 May 2002 08:26:02 +0000
Subject: Re: [SMARTY] UGH :-/
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-4056@lists.php.net to get a copy of this message
> Well im trying to get my dynamic templates working and I see that when > extending the smarty class, i can use a c:\ Path to the template Dir > for parsing the HTML file.. The issue is that the html file is above the > base DIR of the website so i wanted to try and use the same path for > my images and css file and js files.. but they wont work.. is there > any reason why and Or a way around this? Template files are parsed by smarty, and used to output HTML code to the browser. Images and CSS files are static content. If you provide the path to them in HTML code, like <img src="C:\file.gif"> then all your users need to have that file in their C drive's root directory. That's not what you would like to have ;) Images and CSS files should be under the documentroot, and so you can address them in your HTML files. Goba

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