Question
Hello, I am a newbie using twiki and i have just installed the latest version to be used in the office where i work.
I am having troubles viewing the icons...
When i left clik over them and view the properties, there path is:
http://LAN
IP ADDRESS /twiki/pub/TWiki/TWikiDocGraphics%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20/searchtopic.gif
I tried changing the iconurlpath for the complete path and i can see them, however this only works in some specified icons.
Any ideas??
I can send mi configuration html file if needed.
Environment
--
FelipeLlodra - 25 Feb 2008
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
%20 is the URL encoding of a space, so I'm having a terrible feeling creeping up my neck. Here's what I think that happens:
- The location of TWiki's icons is usually defined in a topic TWiki.TWikiDocGraphics, which is just fine.
- This location is configurable in TWiki.TWikiPreferences, still no problem.
- You have edited your TWiki.TWikiPreferences several times, using the default WYSIWYG editor. This is a problem, but not your fault: Due to a bug in the WYSIWYG editor, it adds spaces to variables, which unfortunately are significant to TWiki.
So, your only option would be to edit the raw text of TWiki.TWikiPreferences and remove all trailing blanks from the line where ICONTOPIC is defined.
I'd say you should file a bug report, but this isn't necessary since I've found that this has already been done by others who stumbled over the same problem.
As a minor hint, let me suggest that it is a good idea to never touch TWiki.TWikiPreferences at all, and make all changes in Main.TWikiPreferences. You could just revert TWiki.TWikiPreferences to its distributed version, and keep only what you've changed in Main.TWikiPreferences.
--
HaraldJoerg - 25 Feb 2008
Addon: A fix is available in SVN, see
TWikibug:Item5257
, and will be released with TWiki 4.2.1.
--
HaraldJoerg - 25 Feb 2008
Thanks a lot!!
Problem solved!!
--
FelipeLlodra - 26 Feb 2008