skinnable

wanderlost

Joined: 2002-08-17
Posts: 2
Posted: Sat, 2002-08-17 01:31

I'm trying to make my entire skinnable using PHP - I've got most of the site done, but I'm having problems with my gallery install. You see, to make the skins work, I have to be able to at least change the stylesheet after ascertaining which skin the user has selected. What I'd like to know is where the stylesheet is specified in the gallery scripts and if I can:
a) include a file to check for a cookie on every page of the gallery. (there seems to be a check for includeable files in index.php, if I remember correctly.
b) change the stylesheet depending on the skin setting. (as much as I'd love to stick to gallery's default, its hard for skins to work if you only have one possible stylesheet.)

Does this make sense? Basically, I need to know how to get into the <head> elements for each section of gallery (twould be nice if there were a file in html_wrap that handled this, but it doesn't appear that way). My site is available at: http://www.wanderlost.org/ if that helps in any way... Thanks in advance for any help someone can provide :smile:

 
pamela

Joined: 2002-09-14
Posts: 12
Posted: Fri, 2002-09-20 03:26

Hm, I'd be interested if anyone has suggestions on accomplishing this!