From: Alex B. <en...@tu...> - 2001-05-08 19:32:19
|
> > "There are also quite a few instances of image and href paths being > hardcoded (i.e. /resources/whatever) without a leading BC_DOCROOT variable." > > This seems to be the only install problem I have left. > I've made some changes to defined_constants.conf and still nothing. > > Where exactly are these links hardcoded so I can go and change them. You can do a grep for src="/resources/ and replace it with src="/your_path/resources/ - which will fix any of those problems. Note that if you're building modules that are supposed to be location independent (i.e. thy can be called from anywhere in the page hierarchy) you must use some means of verifying path, with echos: <? echo BC_DOCROOT; ?> or just plain old /. I think the latter is the more elegant solution, but for those that do not, you can grep all files wnding in .phtml, and .html and replace the src=" and href=" instances with code (or path) as you see fit. This is why I recommend VirtualHosts, strongly - because you really don't want relative paths floating around in your code for this kind of install. _alex -- alex black, ceo en...@tu... the turing studio, inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 |