PDA

View Full Version : Different Skin for Each Category


spence
08-03-2005, 01:11 AM
There is a thread (http://www.subdreamer.com/forum/showthread.php?t=663&page=1&pp=15) that dates back to '04 on SD.com with a hack posted by Subduck that made it possible to have a different skin for each category.

Since then, the code, of course, has changed.

The request that I'm making is for this hack to be updated and ... even sweeter... perhaps the ability to assign a different skin to each subcategory as well.

BTW, just to be clear, this request is NOT just for the ability to assign a different stylesheet, but an entire skin. Thanks!

Eladesor
08-03-2005, 01:00 PM
Thats a nice idea. Im surprised (if it is possible) that the skin designers have developed this - it also seems an ideal way to display skins for sale.

spence
08-03-2005, 01:16 PM
There was interest in this for gaming communities expressed on the SD forum, but I can think of lots of different sites that might find this really handy.

oktam
08-03-2005, 03:02 PM
if you post this hack, i can port it to SD 2.2.

spence
08-03-2005, 04:08 PM
All I have is what is posted in the old thread (attached). Thanks for attempting this. :D

spence
08-05-2005, 09:06 PM
How is it going, oktam?

And/or does anyone else feel they're up to the task?

Robert_J_Ellis
08-08-2005, 01:50 PM
I got this working pretty easily. in the install.php file, simply paste the details from other skins. where it says numdesigns just add the number as you see fit.
ie :

$skinname * * = "Skin Name";
$numdesigns * = 3;

Notably I use the same thing for test areas versus having a dev site. You can see an example at : http://www.sddepot.com/

and try the test section. 3 skins loaded atm I think.

Edit : Clarified a few things