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

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

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

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Module-specific theme [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
jax5149
Nuke Cadet
Nuke Cadet


Joined: Nov 28, 2005
Posts: 2


PostPosted: Mon Nov 28, 2005 12:27 pm Reply with quoteBack to top

Hello all,

I have a website that I am working on using the 'DeepBlue' theme as a template. What I am trying to do is this: For each area, ie - weblinks, downloads, home, etc. - I want to change the logo-graphic to be pertinent to each module. Not the logo itself. That remains static.

For those that do not know, DeepBlue's header contains two graphics. One is logo and the other is logo-graphic.

Thanks for the help in advance.
Find all posts by jax5149View user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12383


PostPosted: Mon Nov 28, 2005 12:42 pm Reply with quoteBack to top

You'd have to do some code in the theme.php , for example
Code:

if ($module_name == "Downloads") {
  echo "<img src=\"logo.jpg\">";
} elseif ($module_name == "Web_Links") {
  ...

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
jax5149
Nuke Cadet
Nuke Cadet


Joined: Nov 28, 2005
Posts: 2


PostPosted: Mon Nov 28, 2005 5:25 pm Reply with quoteBack to top

Evaders99 wrote:
You'd have to do some code in the theme.php , for example
Code:

if ($module_name == "Downloads") {
  echo "<img src=\"logo.jpg\">";
} elseif ($module_name == "Web_Links") {
  ...


Just where in the Theme.php script would I place this? I have tried several areas within the script but the original logo-graphic is still showing. It seems to me that there needs to be function that would "over-right" the original logo-graphic.

I did however have an interesting effect using the code above and placing it near the bottom of the themeheader... it displayed the image that I want in the header but it displayed in the body of the website. I took my logo-graphic and rotated it 90 degrees and it created a "left-sided block". I could use this instead of what I posted in the inital request. It was kinda' neat.
Find all posts by jax5149View user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
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.181 Seconds - 392 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::