Menu

Changing the Default Icon

Help
2005-12-09
2012-10-11
  • Keith R. Bennett

    All -

    It would be nice to display my organization's logo in the wiki somewhere.

    I saw in the config.ini file the following:

    ; To use your own logo and signature files, name them PhpWikiLogo.png
    ; and PhpWikiSignature.png and put them into themes/default/images
    ; here).

    So I copied our logo file to both names. I restarted the httpd service and my browser. I could not find any pages that displayed the logo.

    Where should they be?

    Thanks,
    Keith

     
    • Keith R. Bennett

      Joel -

      Here's my info:

      Version: 1.3.11p1
      THEME = default
      WIKI_NAME = "LSIWiki"

      I have not changed anything in any themeinfo.php.

      Let me know if you'd like me to send you the config.ini or anything else.

      Thanks,
      Keith

       
      • Joel Uckelman

        Joel Uckelman - 2005-12-12

        What happens if you name your logo pic LSIWikiLogo.png and put it in themes/default/images
        (with your logo.png moved somewhere else, of course, otherwise we're not testing anything)?

         
    • Joel Uckelman

      Joel Uckelman - 2005-12-09

      The comment is a bit misleading (I should fix that...). Really what you need to do is have a file called WIKI_NAME + Logo.png in the images directory of whatever theme you're using.

      You shouldn't need to restart anything to get your logo to display.

       
      • Keith R. Bennett

        I got it to work by copying my .png file to themes/default/images/logo.png. (!)

        Should I change that?

        By the way, this is the logo that appears on the upper right corner of a page and links to the home page. Are we talking about the same thing?

        Thanks for your help.
        - Keith

         
        • Joel Uckelman

          Joel Uckelman - 2005-12-10

          Strange. That shouldn't work. What version of PhpWiki are you using? What theme? What do you have set as WIKI_NAME in your config.ini? Have you changed anything in your theme's themeinfo.php or the default theme's themeinfo.php?

           
    • Joel Uckelman

      Joel Uckelman - 2005-12-09

      Actually, ignore what I said about putting your logo in the images dir of the theme you use; it should go in default as per the comment.

       
    • Keith R. Bennett

      Joel -

      Interesting...that works. It seems that the file can be named either logo.png or LSIWikiLogo.png, and it will be displayed.

      An interesting twist is that I'm now using the MacOSX theme, yet the logo file read is the one in the default theme directory, not the MacOSX theme directory.

      Thanks for your help.
      - Keith

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.