Custom Images Per Section?
I've got my colors customized per section, and I trimmed away the line borders from comments and stories and the fancyboxes. But I would like to have a custom logo (slashhead.gif) image per section. The only way I see to do this would be to change the IMG SRC in the header(117) template to say "IMG SRC=[% section %]/images/slashhead.gif" and then put an images/ directory and appropriate GIF in each section subdirectory under htdocs. But this doesn't work, and the % section % part is ignored. Am I using the right name? Do I have to do something extra to get custom images per section? Any help is appreciated. Thanks!
--
Greg Day
--
Greg Day
This discussion has been archived.
No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Full
Abbreviated
Hidden
Loading... please wait.



a few things (Score:2)
Anyway...
1. Don't refer to templates by #, the numbers can change per each slash installation. Don't refer to templates by their
name only. Instead, refer to them by name;page;section.
2. If section is being ignored, then it's probably not being passed to the header template.
You need to follow the process through:
someone hits /index.pl
index.pl calls header() with what?
does header() eventually call slashDisplay('header') or
slashDisplay('header',{section => $sect
lottadot [lottadot.com]
I did something pretty simple. (Score:2)
~~~~~~~~~~~~~~~~~~~
EDUSlash - We put the EDU in