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, 49 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - is there a $current_theme variable? [ ]
 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
RobbieB
Lieutenant
Lieutenant


Joined: Jul 15, 2003
Posts: 195

Location: California

PostPosted: Mon Sep 01, 2003 10:24 am Reply with quoteBack to top

I have some title images that I've made that will be at the top of some modules. They are located in themes/maintheme/images/titles

When I make my pages though, I want those title images to reflect the style of the current theme so I'd make my url like this

<img src=\"themes/".$current_theme."/images/titles/races/".$array['title_img']."\">

So again, the question, is if there is a global variable that I can put in place of my made up variable $current_theme

Thanks
Find all posts by RobbieBView user's profileSend private messageVisit poster's website
IACOJ
Major
Major


Joined: Jan 15, 2003
Posts: 1269

Location: USA

PostPosted: Mon Sep 01, 2003 1:56 pm Reply with quoteBack to top

Try using $ThemeSel instead of $current_theme
Find all posts by IACOJView user's profileSend private message
RobbieB
Lieutenant
Lieutenant


Joined: Jul 15, 2003
Posts: 195

Location: California

PostPosted: Mon Sep 01, 2003 9:15 pm Reply with quoteBack to top

Thanks, I just didn't know the variable so I was making up current theme[/u]
Find all posts by RobbieBView user's profileSend private messageVisit poster's website
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.165 Seconds - 198 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::