a few links about site skinning: (if you have more, please leave em' in the comments!)
Domesticat's tutorial (loading different header/footer files)
Yelvington (customizing details of the stylesheet)
a few links about site skinning: (if you have more, please leave em' in the comments!)
Domesticat's tutorial (loading different header/footer files)
Yelvington (customizing details of the stylesheet)
1 | kristine
Brenna (another frequent post on the MT boards) has a MT-specific skinning site – based on Amy's fab tutorial. http://www.mngeo.com/howto/
2 | Etoile
I'm having trouble with skinning…it actually seems to be a PHP problem, maybe, in a weird sort of way. Where can I go for help?
3 | Jennifer
Etoile – you can post your questions here, or in the scriptygoddess forum. (although I'll admit I've been bad about keeping up with it… I'm planning on upgrading it so it notifies me when someone posts a question there) We'll answer if we can, or other users may have answers…
4 | Etoile
I actually managed to get it figured out…I was missing a </style> tag! How embarrassing. I'm having problems making it parse PHP on HTML pages now but I've got a thread in the Blogomania forums about it. (No answers there for a month!)
5 | Anne
I've got a real problem with skinning at the moment…I set up a new blog in a subdirectory of my site, and while the skins work great on both…every time I reset a skin on one blog, it resets the skin on the other.
Which stinks when I want to use skin #6 on my main blog, and there IS no skin #6 on the sub-blog. It just goes wonky.
Any ideas for how to rewrite the cookie-code?
6 | Jennifer
You're probably referencing the same cookie in both places.
Try making sure that one sets and uses a cookie with a name that is different than what the other is using…
7 | Hey Lisa
December 31st, 2003 at 10:50 am
Hi all! I'm SO close to getting skinning to work on my site (I think). I'm still getting php errors. I think my cookiecheck file is correct, but I must have a syntax error somewhere that I can't find. Darnit. I have asked people, and sometimes they get errors when they go to my site and sometimes they don't and I can't figure out a pattern to it. I *think* my cookies are setting, but then having trouble being read by the cookiecheck file once set. I'm not a coding maven, though, so I could be completely off base. Anyway, if you have a chance, would you mind taking a look at the errors and see if they look like something I need to change or if there's a setting on my host's php that needs to be changed or possibly both? I've googled the errors, reloaded the cookiecheck file, and asked many people to look at it. Mostly I've been told it looks right but it's still causing errors for me. (The errors are below) My poor forehead has key indentions on it from banging my head on the keyboard. Thanks for your time!
*The errors:
Notice: Undefined variable: skin in C:\Web Sites\LisaP\cookiecheck.php on line 8
Notice: Undefined variable: skin in C:\Web Sites\LisaP\cookiecheck.php on line 9
Warning: Cannot modify header information – headers already sent by (output started at C:\Web Sites\LisaP\cookiecheck.php:8) in C:\Web Sites\LisaP\cookiecheck.php on line 12
Warning: Cannot modify header information – headers already sent by (output started at C:\Web Sites\LisaP\cookiecheck.php:8) in C:\Web Sites\LisaP\cookiecheck.php on line 13
Warning: Cannot modify header information – headers already sent by (output started at C:\Web Sites\LisaP\cookiecheck.php:8) in C:\Web Sites\LisaP\cookiecheck.php on line 14
I've put the text file here if that will help. Thanks again for any help! I'll keep working on it, too, in case it's something obvious, and I'll come back and post if I get it fixed.
8 | Hey Lisa
December 31st, 2003 at 10:58 am
I changed the cookiecheck file to add in the header and footer declarations at the bottom again and all that happened was the errors changed to:
Notice: Undefined variable: skin in C:\Web Sites\LisaP\cookiecheck.php on line 10
Notice: Undefined variable: skin in C:\Web Sites\LisaP\cookiecheck.php on line 11
Warning: Cannot modify header information – headers already sent by (output started at C:\Web Sites\LisaP\cookiecheck.php:10) in C:\Web Sites\LisaP\cookiecheck.php on line 15
Warning: Cannot modify header information – headers already sent by (output started at C:\Web Sites\LisaP\cookiecheck.php:10) in C:\Web Sites\LisaP\cookiecheck.php on line 16
Warning: Cannot modify header information – headers already sent by (output started at C:\Web Sites\LisaP\cookiecheck.php:10) in C:\Web Sites\LisaP\cookiecheck.php on line 17
The only change I can see is now the errors have different line numbers. New file here that reflects the changes I've made.
9 | Jennifer
Not sure if this is the only problem – but in that code I see this line:
} else $newskin=$default_skin;
I think that needs to be:
} else {
$newskin=$default_skin;
}
10 | Hey Lisa
Thanks – I did change that and rebuild but it didn't seem to make any difference. Still trying, and I have a few other people looking at it too.
11 | Hey Lisa
January 26th, 2004 at 10:51 am
Thanks for your advice. I did change that bit of code but it didn't help. I've since looked at several other people's code and that line is not enclosed in {} in theirs. I've changed it back in the meantime.
My cookie sets fine when you choose a skin, but once you click the link to go back to the main page, the cookie on the main page overwrites it and loads whatever was set as default rather than the skin the user chose. I can't figure out why?
12 | Chungh
January 27th, 2004 at 12:19 am
One site that takes advantage of this technique is Project 7 (http://www.projectseven.com).
They have some of the most beautiful examples of advance CSS and Javascripting.