Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 82
3 members and 79 guests
hon9pkqeymoonva, stozlx2ragegq7q, tax7bcslkk7daaw
Most users ever online was 611, 03-21-2008 at 11:10 PM.
» .::.
tattoo fonts
http://www.checkoutmyink.com/category/tattoo-fonts-tattoo

Go Back   Nukemods Forum > General > Site design

Reply
 
LinkBack Thread Tools Display Modes
php question (theme)
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 1
Join Date: Apr 2005
php question (theme) - 04-24-2005, 12:40 AM

hiya, i am creating my first ever theme... and my php knowledge is limited... so far i am going okay but i am confused on a few things:

1. in most theme.php files... in the functions there seem to be alot of global variables that people declare... and yet some of them i cant see called anywhere in the theme files? why are they there then... eg. $topic i can see used, but $slogan or $dbi i dont see used anywhere? why are they there then and where are people getting these variables?

2. in most .css files once again i see alot of classes declared but yet i dont see many of them used throughout any of the files?

3. where are the <HTML>, <BODY>, <META> tags etc. created as i dont see them in the header.html file...

ps. i am only dealing with the files in the theme folder, as i am only responsible for the appearance of the site...

i could have all of this working already, but i really want to understand what is going on... i have never done PHP but i worked with java at university... so i have the ability to understand programming... just takes a while to get my head around a different language...
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#2 (permalink))
Junior Member
 
Status: Offline
Posts: 15
Join Date: Mar 2005
04-24-2005, 12:57 AM

just remember..it's not all about PHP when it comes to themes in Nuke
It boils down to HTML and if can you see RAW HTML..not in DW or Frontpage..but HTML code.

Depends on themes also. Some themes use html files...nice and easy to manipulate and change those..but themes that only use a theme.php ok..a little different, but STILL html is embedded..only added slashes for php to parse the html.
Do not worry about $this and $that...those do matter, leave them. Work around them. Those are the variables within in the theme's html etc that calls the news readmore or a link or a usersname or a topicicon.

I hope I helped you.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Theme question beezkneez Nuke 7.x - Themes 6 04-23-2006 04:20 PM
theme question toadie Site design 1 07-15-2003 12:17 PM
6.5 theme question sweetquads Nuke 6.5 to 6.9 - Themes 2 06-03-2003 04:08 PM
A theme question Fear Site design 1 05-25-2003 06:35 PM
6.0 to 6.5 Theme question Oznob Theme packs 3 03-07-2003 04:33 PM




vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31