forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ferdinand Soethe <>
Subject Re[2]: Tab-related images at top of Page
Date Tue, 16 Nov 2004 07:34:26 GMT

Ross Gardler wrote:

RG> There is not already a way to accomplish this. You would need to create
RG> your own skin and modify site2xhtml.xsl to do this.

RG> It sounds like a pretty cool feature, please add a request to the issue
RG> tracker, and if you do create the functionality for yourself please post
RG> a patch there too.

Perhaps I can suggest an easier way to achieve this (not that I really
know what I'm writing about :-)):

Looking at the finished pages I found this:

> <div class="projectlogo">
> <a href=""><img class="logoImage" alt="MyProject"
src="images/project.png" title="MyProject Description"></a>
> </div>

to be the code that provides the image at the top-center of the page.
A similar section exists for the second logo.

Further down I found this

<ul id="tabs">
<li class="current">
<a class="base-selected" href="index.html">kayaking</a>

for the selected tab.

If (and that I'm not sure of) site2xhtml created these sections, it
means that it "knows" which tab is selected for this page (rather than
just assembling pieces from earlier transformations).

That being the case, could it not derive the Image-Sourcefilename from
the id-name of the selected tab "images/kayaking.png",
"images/bookcrossing.png", etc. ?

A switch in skinconfig could turn this mechanism on or off so that you
could either use the group/projekt system or an alternative
site/tab-system of logos.

Ferdinand Soethe

View raw message