Question
I've been trying to change the logo on my webs. What I've tried to do is copy the portion of the site preferences that sets the logo at the site level and paste it into the web-level preferences, and then change the text for my new logo info. I've tried it with the new logo (named logo.gif) in the
WebPreferences folder for the individual web and also with the new logo added to the web preferences folder for TWiki with a different name so that it didn't replace the TWiki logo. Neither approach has worked, the best that I got was a hyperlink to my WEBLOGOURL using my WEBLOGOALT. I'm not sure what to try next.
Our installation is by the books as specified at:
http://twiki.org/cgi-bin/view/Codev/TWikiVMDebianStable
Environment
--
KimIsiminger - 23 Jun 2006
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.
Customizing the top bar is descriped in best detail in
PatternSkinCustomization. Take care that you are altering (overriding) your setting in
Main.TWikiPreferences.
--
SteffenPoulsen - 23 Jun 2006
I believe this question was not regarding the top bar so much as just the logo. I have also had a nearl impossible time trying to interpret how in the world to perform what should be the simple task of putting your own logo on each web. I have yet to find detailed instructions besides a myriad of confusing settings and steps that aren't well detailed.
--
JoshuaJohnston - 09 Sep 2006
To set a site wide logo, edit your Main.TWikiPreferences and add the following line:
* Set WIKILOGOIMG = /path/to/your/image.png
(Can also use TWiki variables, i.e. %PUBURL%)
This will overide TWiki.TWikiPreferences, but be overwritten by WebPreferences. You can also do the following:
* Set WIKILOGOURL = http://TWiki.org/
* Set WIKILOGOALT = Powered by TWiki
It is best to do this in Main.TWikiPreferences instead of TWiki.TWikiPreferences, as it will be easier to upgrade to newer versions of TWiki.
--
AndrewRJones - 11 Sep 2006
--
SushilRapatwar - 2009-07-14
Hi
1) I went to "Main Web Preferences" page and clicked on "Edit".
2) I then inserted following parameters
Set WEBLOGONAME = xyz.gif
Set WEBLOGOIMG = (literally inserted the image using WYSIWYG)
3) I saved the changes
Result
Blank box with no image and following text
" border="0" alt="Powered by TWiki" style="border:none;" />
Any ideas what's wrong? Do I need to insert the image in a particular directory for it to be located?
I think my %ATTACHURL% resolves to
http://wikindian.com/wiki/pub/TWiki/VarATTACHURL
Via Filezilla I traversed to public_html -> wiki -> pub -> TWiki but there I couldnt find a directory called as
VarATTACHURL?
Why is it not able to find the image?
Any help will be much appreciated.
Thanks
--
SushilRapatwar - 2009-07-14
You need to attach the image to a page (can be any page), and set the WEBLOGOIMG to the URL of that image.
Please open a new support question if you need further help.
--
PeterThoeny - 2009-07-16