Discussion for further development of
DandruffSkin.
To do:
- complete the skin (all screens)
- fix the issue with the 'oops' screens
- invent some better syntax for the sidebar
Sidebar syntax
For the sidebar I don't like the syntax used by
TigerSkin (
WebMenuFormat). Here's what I want to implement.
- a sidebar or sidemenu consists of named groups of links (or a toplevel/sublevel scheme)
- start the whole thing with %SIDEBAR_START%
- end the whole thing with %SIDEBAR_END%
- start a group with %SBGROUP_START{"title"}%, title is optional
- end a group with %SBGROUP_END%
- between group start and group end you can use normal WikiML to create the items (e.g. lists, includes, websearch, ...)
So the definition of a sidebar could look like:
%SIDEBAR_START%
%SBGROUP_START{"Jump!"}%
<form style="padding: 0px; margin:0px" name="main" action="/cgi-bin/view/Plugins/">
<input type="text" name="topic" size="18" />
</form>
%SBGROUP_END%
%SBGROUP_START{"Weblist"}%
<ul>
%WEBLIST{"
[[$name.WebHome][$name]]"}%
</ul>
%SBGROUP_END%
%SBGROUP_START{"Shortcuts"}%
%INCLUDE{"%MAINWEB%.ShortCuts"}%
%SBGROUP_END%
%SBGROUP_START{"Site tools"}%
* [[Plugins.WebSearch][WebSearch]]
* [[Plugins.WebChanges][WebChanges]]
* [[Plugins.WebIndex][WebIndex]]
* [[Plugins.WebTopicList][WebTopicList]]
* [[Plugins.WebNotify][WebNotify]]
* [[Plugins.WebStatistics][WebStatistics]]
* [[Plugins.WebPreferences][WebPreferences]]
* [[TWiki05x01.TWikiPreferences][SitePreferences]]
%SBGROUP_END%
%SIDEBAR_END%
Which would generate the following html code (which can be shaped in any way using CSS by providing style info for the div 'sidebar' and the class 'sb_box' - for non-css browsers it still would be perfectly useable although the sidebar then has to be captured in a table cell):
Do you have a screenshot of the skin that you can put on the
DandruffSkin page?
I understand your not liking the tigerskin menu format, however it does save
administrator time if there is one page to edit that will affect all
pages that use a side menu (e.g. the tiger variants and gnu skin).
Maybe we can take your format and mix it with the tigerskin format? Then we can
create a sidemenuplugin to replace the tigerskin/gnuskin plugins. One advantage
to your format that I like is the ability to more easily embed forms in the side bar.
The last release of the gnuskin plugin adds a link command that allows arbitrary
links to be added to the sidebar, but your mechanism is more general.
--
JohnRouillard - 02 Sep 2002
Sorry for not responding sooner - have been away for a while.
Well, the main reason for which I did not like the tigerskin menu layout was that it deviates quite a bit from the normal TWiki syntax. I do think that it would be a good idea to have a general sidemenuplugin that indeed preferrably supports both formats. Then people can pick whatever they like and it does not break the one or the other (at least we'd follow TIMWTDI :-).
Now I'm back on the track I'll definitively start enhancing the concepts behind dandruff skin (as well as a few other things on my
list.
--
JeroenVanDongen - 31 Oct 2002
I really like this Skin. It is very clean!
However, I noticed after applying it to our web, that the r8 - 2005-09-14 - 01:27:37 -
ToddGrayson variable always contains TWikiGuest instead of the user who actually changed the page. So always get:
r1.12 - 06 Nov 2002 - 15:28 GMT - TWikiGuest
Am I missing something? Any pointer?
--
JochenLoser - 06 Nov 2002
I encourage to follow
JohnRouillard's suggestion of extracting the side bar from this skin as well as from tiger and gnu skins and package as a separate plugin. In addition, it should be possible to treat the sidebar variable just like any other one and thus override in web, user topic, or topic, if so wanted.
Having a side bar is really orthogonal to the other look and feel issues that are solved by a skin.
Ideally, the graphical appearance of the side bar is also shaped by templates and thus can be made subject to the influences of a particular skin.
--
ThomasWeigert - 08 Nov 2002
Skins are all about visual, so how come you haven't posted yet any screenshots of
DandruffSkin? The homepage you mentioned (
http://unadorned.org/dandruff) has a really cool visual, got me curious about this skin.
--
JoaoVictor - 05 April 2003
Did anyone ever work out the "oops" template issue with this template set? I've built TWiki on solaris 10/Sun Java Enterprise Web Server (can they change the netscape web server name again, please!
sheesh ), and I am seeing the same issue with blank screens for the "oops" templates....
--
ToddGrayson - 14 Sep 2005