scriptygoddess

14 Apr, 2002

Skin links

Posted by: Jennifer In: Bookmarks

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)

12 Responses to "Skin links"

1 | kristine

April 16th, 2002 at 9:02 am

Avatar

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

July 8th, 2002 at 12:44 pm

Avatar

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

July 16th, 2002 at 9:43 pm

Avatar

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

July 17th, 2002 at 12:48 am

Avatar

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

October 15th, 2003 at 3:25 pm

Avatar

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

October 15th, 2003 at 3:58 pm

Avatar

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

Avatar

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

Avatar

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

January 1st, 2004 at 9:50 am

Avatar

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

January 1st, 2004 at 2:27 pm

Avatar

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

Avatar

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

Avatar

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.

Featured Sponsors

Genesis Framework for WordPress

Advertise Here


  • Scott: Just moved changed the site URL as WP's installed in a subfolder. Cookie clearance worked for me. Thanks!
  • Stephen Lareau: Hi great blog thanks. Just thought I would add that it helps to put target = like this:1-800-555-1212 and
  • Cord Blomquist: Jennifer, you may want to check out tp2wp.com, a new service my company just launched that converts TypePad and Movable Type export files into WordPre

About


Advertisements