Tags:
create new tag
view all tags

SID-02051: Changing the logo in the upper left corner

Status: Answered Answered TWiki version: 6.0.1 Perl version: 5.18.2
Category: CategoryInstallation Server OS: Ubuntu 14.04 Last update: 10 years ago

I just want to put my logo in the upper left hand corner. I do not know what version of TWiki I am running. I downloaded it recently.

I attached my logo to the TWiki Preferences page and edited it as follows. The logo didn't change. What and I doing wrong?

---+!! %MAKETEXT{"Local customizations of site-wide preferences"}%

<div class="twikiHelp">%ICON{"info"}% %MAKETEXT{"Site-level preferences are located in [_1], however this [_2] prefs topic has override priority and should be used for local customizations. This allows for easier upgrades as you don&#39;t need to worry about the shipped preferences clobbering yours. It&#39;s easier to keep a handle on if you only copy over the settings you actually change." args="[[%SYSTEMWEB%.%TOPIC%]], [[%USERSWEB%.%TOPIC%]]"}% </div>

<form method="post" action="https://twiki.org/cgi-bin/viewauth/Support/SID-02051#EditPreferences" enctype="multipart/form-data" name="editpreferences"><input name="prefsaction" type="hidden" value="edit" /><input type="submit" name="edit" value="Edit Preferences" class="twikiButton" /></form>
%IF{"$ SCRIPTNAME != &#39;viewauth%SCRIPTSUFFIX%&#39;" then="<span class=&#39;twikiGrayText&#39;>%MAKETEXT{"Quick edit of existing preferences (edit the topic text to set new preferences)"}%</span>" }%

---++ Site Specific Site-wide Preferences
<!-- Add site-wide preferences here -->

Set WIKILOGOURL = http://www.activcirk.com

Set WIKILOGOIMG = %PUBURLPATH%/Main/WebPreferences/Logo-Horizontal.PNG


---++ Final Preferences

   * =FINALPREFERENCES= locks site-level preferences that are *not* allowed to be overridden by [[%WEBPREFSTOPIC%]] or user preferences:
      * Set FINALPREFERENCES = ALLOWROOTCHANGE, ATTACHFILESIZELIMIT, DENYROOTCHANGE, DOCWEB, ICONTOPIC, PREVIEWBGIMAGE, SYSTEMWEB, TWIKICOLORSURL, TWIKILAYOUTURL, TWIKISTYLEURL, USERSWEB, WIKIHOMEURL, WIKITOOLNAME

---++ Security Settings

   * Only TWiki administrators are allowed to change this topic:
      * Set ALLOW<nop>TOPICCHANGE = TWikiAdminGroup
      * Set ALLOW<nop>TOPICRENAME = TWikiAdminGroup
   * Disable WYSIWYG editor for this preferences topic only:
      * Local TINY<nop>MCEPLUGIN_DISABLE = on

<form method="post" action="https://twiki.org/cgi-bin/viewauth/Support/SID-02051#EditPreferences" enctype="multipart/form-data" name="editpreferences"><input name="prefsaction" type="hidden" value="edit" /><input type="submit" name="edit" value="Edit Preferences" class="twikiButton" /></form>

__Related topics:__ [[%SYSTEMWEB%.%TOPIC%]], [[%SYSTEMWEB%.TWikiVariables][TWikiVariables]], [[%SYSTEMWEB%.TWikiAccessControl][TWikiAccessControl]]

   * AClogoHoriz: <br />
     <img src="%ATTACHURLPATH%/Logo-Horizontal.PNG" alt="Logo-Horizontal.PNG" width="378" height="65" />

-- Perry Macdonald - 2015-04-04

Discussion and Answer

Hello Perry,

It seems you got the syntax of the setting not quite correct: It must show up like a bullet list. In the "plain" wiki text edit, that is three spaces, one star, and then the Set:

  • Set WIKILOGOIMG = logo55.png
...similar for WIKILOGURL, of course.

-- Harald Jörg - 2015-04-06

Ok, I managed to set the logo for this page. Unfortunately it doesn't fit for the layout, but you get the spirit smile

BTW: Be careful when copying access control settings. You locked us all (and yourself) out by restricting access to TWikiAdminGroup

-- Harald Jörg - 2015-04-06

I fixed the logo image size and attached it to this topic. The setting is now:

   * Set WIKILOGOIMG = http://twiki.org/p/pub/Support/SID-02051/logo55.png

Best to limit the height to 55 pixels, and to make the background transparent.

-- Peter Thoeny - 2015-04-07

      Change status to:
ALERT! 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.
SupportForm
Status Answered
Title Changing the logo in the upper left corner
SupportCategory CategoryInstallation
TWiki version 6.0.1
Server OS Ubuntu 14.04
Web server Apache/2.4.7
Perl version 5.18.2
Browser & version Chrome 41.0.2272.118
Topic attachments
I Attachment History Action Size Date Who Comment
PNGpng logo55.png r1 manage 2.6 K 2015-04-07 - 07:37 PeterThoeny  
PNGpng logo5974072_lg.png r2 r1 manage 12.3 K 2015-04-07 - 07:37 PeterThoeny  
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2015-04-07 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.