|
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...
|