bin/koalaskin-generate config: new lib var
-- PeterThoeny - 04 Feb 2005
I found a bugs in trying to edit or preview with cairo and KS 3.1 on calls to getRenderedVersion or encodeSpecialChars.
Here is my suggestion for a patch on savemulti :
--- /usr/lib/cgi-bin/twiki/savemulti.orig 2005-02-16 00:12:35.000000000 +0100
+++ /usr/lib/cgi-bin/twiki/savemulti 2005-02-23 12:29:29.000000000 +0100
@@ -156,7 +156,7 @@
return;
}
- $text = &TWiki::decodeSpecialChars( $text );
+ $text = &TWiki::Render::decodeSpecialChars( $text );
$text =~ s/ {3}/\t/go;
my $meta = "";
@@ -283,7 +283,7 @@
## ForCairo: $ptext = &TWiki::takeOutVerbatim( $ptext, \@verbatim );
$ptext =~ s/ {3}/\t/go;
$ptext = &TWiki::handleCommonTags( $ptext, $topic );
- $ptext = &TWiki::getRenderedVersion( $ptext );
+ $ptext = &TWiki::Render::getRenderedVersion( $ptext );
# do not allow click on link before save:
$ptext =~ s@(href=".*?")@$1 target="_blank"@goi;
@@ -292,10 +292,10 @@
$tmpl = &TWiki::handleCommonTags( $tmpl, $topic );
$tmpl = &TWiki::handleMetaTags( $webName, $topic, $tmpl, $meta );
- $tmpl = &TWiki::getRenderedVersion( $tmpl );
+ $tmpl = &TWiki::Render::getRenderedVersion( $tmpl );
$tmpl =~ s/%TEXT%/$ptext/go;
- $text = &TWiki::encodeSpecialChars( $text );
+ $text = &TWiki::Render::encodeSpecialChars( $text );
$tmpl =~ s/%HIDDENTEXT%/$text/go;
$tmpl =~ s/%FORMFIELDS%/$formFields/go;
I hope it's correct, since I have a "specific" install of twiki (Debian package instead of regular tarball)...
-- OlivierBerger - 15 Feb 2005
There seems to be also a problem in the NAVBAR support being dropped.
I think that KSNONAVBAR and KSNAVBAR were removed, but the %NAVBARx% variables remain in the templates.
-- OlivierBerger - 23 Feb 2005
Olivier: there is a problem, as with Cairo, KS do not use savemulti anymore, but directly uses "save". If KS is using savemulti, something is wrong...
-- ColasNahaboo - 23 Feb 2005
OK... it looks like indeed it doesn't use savemulti anymore... Maybe it used it since I hadn't regenerated the templates for the webs. Maybe I hadn't followed the upgrade path in the right way.
Now it works. Sorry for that.
May I suggest that savemulti be removed from the distribution, then ?
-- OlivierBerger - 24 Feb 2005
I've struck a problem trying to install on Mandrake 10.1.
The koalaskin-generate script fails withsed: -e expression #1, char 33: unterminated `s' commandThe fix was to change line 1826 from:
sed -e 's/ /=/g' -e "s/$ctrlm//g" -e 's/^=[*] [[][[][%]ATTACHURL[%].*//' \
to
sed -e 's/ /=/g' -e "s/$ctrlm//g" -e 's/^=[*] \[\[[%]ATTACHURL[%].*//' \
This is using GNU sed version 4.1.1.
-- DeanCording - 24 Mar 2005 I Have some issue with XHTML content of some pages. So This is a "small patch" (patch_template_xhtml.diff) which (at least) let WebSiteMap XHTML compliant (the w3c validator seems happy). I guess there is some more work to do to get all Koalaskin ok, but that's a beginning :). -- BenoitHamet - 04 May 2005
In exchange for help with my question below re: the VerbatimHorizontalScrollBar, I will offer up this little trick that I've used :
It is a simple mod to the /bin/koalaskin-generate script, which makes it so that the Group Changes link will only appear in the left buttons box if subwebs actually exist.
So in other words, if a web does not have sub webs --- then the Group Changes link will not appear. If the current web is a subweb (or if it has subwebs) then the Group Changes link will appear.
THE BOTTOM LINE OF THIS CODE :
# $1=web $2=group $3=subwebs $4=templatesdir $5=templatesfile $6=searchgroup
# $7=sourcetemplatefile $8=nweb
expand_vars () {
if test "$1" = "$2"; then #we are in a group
WAS CHANGED TO THIS CODE :
if test "$3" ; then # subgroups exist
-- KeithHelfrich - 04 Jul 2005
Now, for my question ...
I'm using ks_noleftbar.koala.tmpl so I've removed the call. Hope this is the correct "fix".
Also is there a way to center the subweb tabs below the first row of tabs or below the first level "empty TAB"? On my setup (I've upgrade from KoalaSkin 2.x to 3.1) they appear too much to the left.
Regards, -- RodrigoCurado - 06 Jul 2005 To handle the %NAVBARH call, I've simply placed the following into TWikiPreferences :editsection.koala.tmpl to your ../templates dir
../bin/generate
Two questions (for Colas or anyone) :
KoalaSkin.zip and KoalaSkin.tgz?
-- PeterThoeny - 29 Aug 2006
Hi Colas, I've just upgraded to the latest 3.2 version of the KoalaSkin. A couple of notes about my upgrade :
Since I had previously modified the following templates, I simply re-used my modified version of those templates from the older release after the upgrade to 3.2. This seems OK since it appears you did not make any changes to them. If you did (or plan to) modify these templates, would you let me know ? ks_topbuttons.koala.tmpl
ks_otherindexes.koala.tmpl
edit.koala.tmpl
editsection.koala.tmpl (see SectionalEditPluginDev)
view.koala.tmpl
WebSiteMap_{WEBNAME}.txt files in my TWiki web ? WebSiteMap_{WEBNAME}.txt gives them away
generate_sitemaps and generate_groupmaps from section main () of koalaskin-generate
verbatim text (and text enclosed in equal signs like this) ?
02 Jun 2006 in SectionalEditPluginDev ?
http://domain/twiki/bin/oops/Web/TopicName/template=oopsnoformdef
META:FORM tag has not been added to the MetaData
META:FORM tag manually does not quite work, either.
?set_session_variable=SKIN=gnu&clear_session_variable=TEST and the same problem still occurs with the TWikiForms. So I don't think this is a KoalaSkin problem, afterall. %TAGME{ tpaction="" tag="" }%
200,201c200,201 < $text .= '<input type="image" src="' . $attachUrl . '/tag_addnew.gif" name="add" alt="Add" ' < . 'value="Select tag and add to topic" title="Select tag and add to topic" />, '; --- > $text .= '<input type="image" src="' . $attachUrl . '/tag_icon.gif" name="add" alt="Add" ' > . 'value="Select tag and add to topic" title="Select tag and add to topic" /> '; 204c204 < . "from=$web.$topic#AddNewTag\">create new tag</a>"; --- > . "from=$web.$topic#AddNewTag\"><img src=\"$attachUrl/tag_addnew.gif\" alt=\"Create New Tag\" border=\"0\" /></a>";
19c31,32
< <tr><td class="topicTableOutline"><!-- Title -->
---
> <tr><td class="topicTableOutline" align="right"><a href="%SCRIPTURL%/view/%TWIKIWEB%/TagMeViewAllTags"><font color="white" size="-1">Tags:</font></a></td></tr><!-- Title -->
> <tr><td class="topicTableOutline">
24a38,40
> <td align="right" valign=top class="topicItemCell">
> </a>%TAGME{ tpaction="%URLPARAM{tpaction}%" tag="%URLPARAM{tag}%" }%
> </td>
koalaskin-generate script for KoalaSkin. I found that attaching a favicon.ico file to the WebHome topic of a web did not correctly adjust the templates for that web.
Line 809 of koalaskin-generate was corrected as follows and the script works as advertised now :
809c809 < favicon_sed='s|%FAVICON%|<link rel="SHORTCUT ICON" href="%PUBURLPATH%/$1/$webhome/favicon.ico">|' --- > favicon_sed='s|%FAVICON%|<link rel="SHORTCUT ICON" href="%PUBURLPATH%/%WEB%/WebHome/favicon.ico">|'-- KeithHelfrich - 19 Dec 2006 More work with the favicons shows that:
more topic actions and attach do not use the favicon that was attached to Web.WebHome %WIKILOGOIMG% or possibly an older version of favicon that was attached to KoalaSkinWebList
Colas, back on Jul 31, 2006 I was relieved to hear that the KoalaSkin will still be supported. But now it is six months later and the skin maintainers haven't made any more posts since then. Could you give us an update ?
-- KeithHelfrich - 20 Jan 2007
Would anyone happen to have suggestions as to how I might tweak TWiki.pm in v4.1.2 to work with the SPACEDTOPICP.patch that KoalaSkin requires?
-- EdwardSandstig - 26 Mar 2007
Hi Edward, are you using the KoalaSkin on TWiki version 4.x successfully ? The skin package has not been updated since January, 2005 when it was made to support CairoRelease. Now that the Codev community is working on a CodeName for the GeorgetownRelease (almost 18 months later), I think it is safe to say that this skin is no longer being maintained or supported.
Colas, can we please get any indication at all about your plans to maintain this skin ? Thank you.
-- KeithHelfrich - 02 May 2007
Sorry, I tried to reply before but TWiki.org was so slow that the save aborted in timeout
Although TWiki is the backbone of our intranet (with 33,000 pages), we are still based on Cairo, which explains the current paradoxal situation (a stable skin for a thriving wiki site). I should be able to upgrade the skin this summer I think, as we plan to move our Intranet to Dakar this fall. The work that I have to do is to understand the internals of Dakar first, I did not had a sufficiently long stress-free free time to achieve this up to now
PS: I like my software like my wines: it must rest 3 years before beginning to be drinkable :-). And for the linux people here, yes I run Debian stable
PS#2: Dakar breaks some of our user pages, this is why we didnt migrate yet. This is not a rant, I am in favor of enhancing things, even with incompatible changes. It is just that upgrading a living big site is not something you can plan to do in some hours.
-- ColasNahaboo - 17 May 2007
After some looking around, I think that I may not continue maintaining KoalaSkin anymore. KoalaSkin was done for 3 things: [1] easier use [2] packaging useful patches [3] managing 100+ webs
But now, nice and well maintain skins like Natskin provide [1], the TWiki engine enhancements [2]. I will try first to see if we can use Natskin with some custom "mix-ins" to provide [3] and customize it for our use in ILOG.
I will post here my findings, but I guess it is safe to say that KoalaSkin will be replaced by the NatSkin + a mixin to manage 100+ webs
-- ColasNahaboo - 10 Aug 2007
Hi Colas,
Funny you should mention. My CairoRelease TWikiSite is still at Cairo exactly because I'm on KoalaSkin there and was waiting for an upgrade. But so much time had gone by I was just getting ready to post and suggest that I was going to abandon KoalaSkin for NatSkin.
Maybe we can share some tips & tricks with each other in MigratingFromKoalaSkinToNatSkin.
Thanks for the great Koala .. at the time it was developed, it was the best thing around !!
-- KeithHelfrich - 10 Aug 2007
Finally, we chose to develop a full skin from scratch for ILOG intranet. We had usability people gave specifications of what they wanted, followed by designers working on the looks. It was too hard to bend pattern or nat to do what we needed to do. I think we will be able to release the skin later, but if will be quite ILOG-specific (for instance, we will not use the TWiki search but mnogosearch).
On my personal community sites, I will use pattern for now (for its support of the WYSIWYG editor), despite its slowness, and I will try to create a super-fast, super-simple, non customizable skin from scratch for my public site.
I guess that if one day a "son of Koala" skin is to be made, it should try to use the same principles: compile highly runtime-efficient TWiki templates from centralized descriptions, but I guess in a standard template engine such as http://www.kuwata-lab.com/tenjin/| WebForm | |
|---|---|
| TopicClassification | SkinDevelopment |
| TopicSummary | |
| InterestedParties | |
| RelatedTopics | KoalaSkin, KoalaSkinAppraisal |
| I | Attachment | History | Action | Size | Date | Who | Comment |
|---|---|---|---|---|---|---|---|
| |
FixForNS4Blockquote.patch | manage | 0.6 K | 2005-02-19 - 02:00 | UnknownUser | ||
| |
NEW_WEB | manage | 0.7 K | 2005-02-19 - 02:00 | UnknownUser | ||
| |
TagMePlugin.pm__koalaskin-mod | r1 | manage | 24.4 K | 2006-12-17 - 09:01 | UnknownUser | my mods to the TagMePlugin.pm for KoalaSkin |
| |
hsv2rgbhex | manage | 14.0 K | 2005-02-19 - 02:00 | UnknownUser | ||
| |
koalaskin-600x130.gif | r1 | manage | 11.1 K | 2005-02-04 - 17:23 | PeterThoeny | Koala skin screenshot 600x130 |
| |
koalaskin-generate.agenda | manage | 23.8 K | 2005-02-19 - 02:00 | UnknownUser | ||
| |
lockremains.patch | manage | 0.7 K | 2005-02-19 - 02:00 | UnknownUser | ||
| |
patch_template_xhtml.diff | r1 | manage | 12.0 K | 2005-05-04 - 09:01 | UnknownUser | More W3C XHTML compliance to koalaskin WebSiteMap |
| |
repair-topicparent | manage | 1.2 K | 2005-02-19 - 02:00 | UnknownUser | ||
| |
rgb-hsv.zip | manage | 11.8 K | 2005-02-19 - 02:00 | UnknownUser | ||
| |
rgb2hsvhex | manage | 14.1 K | 2005-02-19 - 02:00 | UnknownUser | ||
| |
tag_icon.gif | r1 | manage | 0.2 K | 2006-12-17 - 08:26 | UnknownUser | icon used for my mods to support the TagMePlugin |
| |
tags-addition-to-ks-header.png | r1 | manage | 4.3 K | 2006-12-17 - 08:38 | UnknownUser | screenshot of tag-me addition to the KoalaSkin header |
| |
test-ctrl-chars | manage | 3.7 K | 2005-02-19 - 02:00 | UnknownUser | ||
| |
text_render_bug.gif | manage | 56.3 K | 2005-02-19 - 02:00 | UnknownUser | ||
| |
view.koala.tmpl__tagme-mod | r1 | manage | 3.4 K | 2006-12-17 - 08:34 | UnknownUser | my mods to koalaskin view template for TagMePlugin (also includes some other mods) |