You are missing our premiere tool bar navigation system! Register and use it for FREE!

•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
· Home
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 282 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
How to change the logo in the PHP-Nuke header

14.3.4. How to change the logo in the PHP-Nuke header

One of the first things you will want to change once your PHP-Nuke is up and running, is the site's logo. For this, you only have to replace the logo.gif file that came with the theme you are using. Search for themes/YourTheme/logo.gif. Whatever graphic you put in logo.gif, it will show as the site's logo in the PHP-Nuke header.

If you want to change the way the logo is displayed, perhaps by setting a width and height attribute, or specifying a border, you will have to change the HTML code that displays it in the theme. To do this in a dynamic way, see Section 14.3.5. Here are the relevant code lines for each one of the standard PHP-Nuke themes:

./themes/3D-Fantasy/header.html:<a href="index.php"><img src="themes/3D-Fantasy/images/logo.gif" border="0" 
alt="Welcome to $sitename" align="left"></a>
./themes/ExtraLite/theme.php:        ."<a href=\"index.php\"><img src=\"themes/ExtraLite/images/logo.gif\" 
alt=\"Welcome to $sitename\" title=\"Welcome to $sitename\" border=\"0\"></a>"
./themes/Kaput/theme.php:       ."<a href=\"index.php\"><img src=\"themes/Kaput/images/logo.gif\" border=\"0\" 
alt=\""._WELCOMETO." $sitename\" align=\"left\"></a></td>"
./themes/NukeNews/header.html:<a href="index.php">
<img src="themes/NukeNews/images/logo.gif" align="left" 
alt=""._WELCOMETO." $sitename" border="0" hspace="10"></a></td>
./themes/Odyssey/header.html:<a href="index.php">
<img src="themes/Odyssey/images/logo.gif" 
alt=""._WELCOMETO." $sitename" border="0"></a>
./themes/Slash/theme.php:<a href=$nukeurl>
<img src=themes/Slash/images/logo.gif border=0></a>
./themes/SlashOcean/theme.php:<a href=$nukeurl>
<img src=themes/SlashOcean/images/logo.gif 
Alt=\"Welcome to $sitename\" border=0></a>
./themes/Traditional/theme.php: ."<a href=\"index.php\">
<img src=\"themes/Traditional/images/logo.gif\" 
alt=\""._WELCOMETO." $sitename\" border=\"0\"></a>"
./themes/Anagram/theme.php:     ."<a href=\"index.php\">
<img src=\"themes/Anagram/images/logo.gif\" align=\"left\" 
alt=\""._WELCOMETO." $sitename\" border=\"0\"></a></td>\n"
./themes/Karate/theme.php:      ."<a href=\"index.php\">
<img src=\"themes/Karate/images/logo.gif\" align=\"left\" 
alt=\""._WELCOMETO." $sitename\" border=\"0\"></a></td>\n"
./themes/Milo/theme.php:        ."<a href=\"index.php\">
<img src=\"themes/Milo/images/logo.gif\" align=\"left\" 
alt=\""._WELCOMETO." $sitename\" border=\"0\"></a></td>\n"
./themes/Sunset/theme.php:echo "<a href=$nuke_url>
<img src=themes/Sunset/images/logo.gif 
Alt=\""._WELCOMETO." $sitename\" border=0></a>\n";
./themes/DeepBlue/theme.php:    ."<table border=0 width=100% cellpadding=0
cellspacing=0><tr><td align=\"left\"><a href=\"index.php\">
<img border=\"0\" src=\"themes/DeepBlue/images/logo.gif\" 
alt=\"Welcome to OpenMax!\" hspace=\"20\"></a></td><td align=\"right\">
<img border=\"0\" src=\"themes/DeepBlue/images/logo-graphic.gif\"

This is also the place to put your change, if you want a second graphic besides your logo, or some other logo customization.

Help us make a better PHP-Nuke HOWTO!

Want to contribute to this HOWTO? Have a suggestion or a solution to a problem that was not treated here? Post your comments on my PHP-Nuke Forum!

Chris Karakas, Maintainer PHP-Nuke HOWTO

Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.200 Seconds - 444 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded ( ::