PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
izone
Involved
Involved


Joined: Sep 07, 2004
Posts: 354
Location: Sweden

PostPosted: Mon Mar 21, 2005 1:31 pm Reply with quote Back to top

I have 3 diffrent themes on my site, one with black bg, one with light grey and one with dark brown.

I want to have diffrent related topics pictures for these theme so when U chosse theme1 you can see topics picutres for black theme and when theme 2 see light grey one ...

With topic picutre I mean this one on this site:
Image


As it is right now I have to put one picutre for NEWS on /images/topics/news.gif.

But how can I have diffrent news.gif specially for diffrent themes?

Best regards
View user's profile Send private message
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9136
Location: Arizona

PostPosted: Mon Mar 21, 2005 5:45 pm Reply with quote Back to top

Hhhhmmmmm... for topics, I think you are stuck with one. At first I was hoping you were talking about theme specific graphics.

It would have to be a hack. You'd have to find the code for the display of the icons and then add code to check for the active theme and change the graphic that is displayed.

At least that is my 30,000 foot level view of it right now.

montego
View user's profile Send private message Visit poster's website
jaded
Theme Guru


Joined: Nov 01, 2003
Posts: 1006

PostPosted: Mon Mar 21, 2005 11:04 pm Reply with quote Back to top

You need to create your new images for all of your themes. For instance
ThemeA has its own images in a folder the path would be as follows.
themes/ThemeA/images/topics/
you would simply place the new topic images in the topics folder for your images of that specific theme.
The same thing will work for weblinks and downloads images. Putting them in the actual images folder of a specific theme.
This will normally work for people. It used to at least. Hard to say with the newer nukes. Good luck!
View user's profile Send private message Visit poster's website
izone
Involved
Involved


Joined: Sep 07, 2004
Posts: 354
Location: Sweden

PostPosted: Tue Mar 22, 2005 8:41 am Reply with quote Back to top

Thanks for helping.

I'll try these and com back with answer here!

So long Smile
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous 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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum