Re: directory structure for images etc. ?
[email protected] (mikespub) Sat, 01 Mar 2003 19:38:11 GMT
| Newsgroups | gmane.comp.cms.xaraya.ui |
|---|---|
| Organization | not much |
| Message-ID | <[email protected]> |
In article <b3qtmu$fq7$1-FogMEOs31dotat4ziPANHlKoq+OfwspIAL8bYrjMMd8@public.gmane.org>, "Gregor J. Rothfuss" <[email protected]> wrote: >> Note that there's a somewhat tricky situation when module >> templates (try to) reference an image - the URLs are totally >> different in the case you're dealing with the default template >> or with a theme-overridden template. > >hm, maybe we need some environment variables after all: > >$themeroot/<module>/images/image.png > andyv's xarTplGetImage() function can handle the case where images are either in the theme dir or in the module dir - so there's no real need for $themeroot there. But if you *don't* use something like that function, the relative paths to images are quite different in both cases. Whether that's a minor inconvenience or a major stumbling block is something only current and future designers can say :) Mike.