
| Site Stats |
| Currently: 6 online
Total Hits: 3095848 |
| Domain Info |
| - Hosting brought on 06/19/2003 - Hosted by Ace-host recommended - 5GB space 60Gb data/month |
| Display information |
Optimised for:
1024 x 768 resolution Internet Explorer Macromedia FlashAlso tested and working in: Netscape Mozilla Firefox
|
| Being Validated |
|
| Girl |
| Char, 20, female, British, Gemini, ...more? |
| Alternative Navigation |
Girl Domain Tutorials Goodies Etc Clear |
| Recommended |
![]() |
| Change skin |
| Give a gift :) |
| Cam |
|
|
| Affiliates |
| Top 15 Referrers |
| 1) cute-spot.com [6765] 2) cute-spot.com [4134] 3) veredgf.fre... [3463] 4) carrieware.com [1678] 5) bouncy-bubb... [966] 6) divergente.org [846] 7) rainbow-bit... [744] 8) bouncy-bubb... [733] 9) shatteredel... [639] 10) rainbow-bit... [635] 11) yanhuahuo.b... [630] 12) cute.startk... [584] 13) users.volja... [565] 14) kao-ani.com [541] 15) so-juicy.net [537] |
| Search |
|
|
| so-youNET Advertisments! |
![]() akuhei.nu |
|
Want to advertise here? Email me char@so-you.net click here for details |
| Skinning tutorial! |
Domesticat's tutorial
taught me how to do this! Although it is quite advanced, very
good but in depth, so here I will break it down a bit -- this tutorial is
still very long although if your site already uses classes and php
includes you can skip alot of steps! its the initial setting your site up
for the skinning thats hard!
What are skins?
What you need to use skins
Making your pages 'skin friendly' You do not want any <font color=black size=1> tags for example in ANY of your pages, instead group them and put <font class="heading1">. Keep a note of all the classes you have set and the names you have given them.
Creating the stylesheet You need to save your stylesheet as a separate page see my css tutorial for more help, and below you can download an example stylesheet, from one of my skins
Breaking your pages down
The cookiecheck file $total_skins = 14; Change the numbers in bold. The 14 is the total number of skins you have and the 1 is the number of the default skin. setcookie('skin',$newskin,time()+(86400*365),'/','.yoursite.net'); change yoursite.net to whatever your domain is $headervar = "/home/username/public_html/skins/$skin/header.php"; Now you will need to change the part in bold. This is where your header files are stored, in the above example the header file is stored in a folder called skins, in a subdirectory of whatever skin number it is. You need to put the absolute path here i.e. not http://yoursite.com/skins/$skin/header.php Now save the file as cookiecheck.php
Creating the header files So basically all my layout is there but of course I have used includes to call up the pages -- If you do not understand includes then this tutorial really won't work for you! you must read the previous steps
Creating the directories
The index.php file <? include("cookiecheck.php"); ?> This calls the cookiecheck file, checks what skin you are using and includes the header file for that skin! simple really!
Allowing the users to change their skin <A HREF="http://yousite.com/index.php?newskin=2">Change to skin 2</A> Change the 2 to whichever skin number you want.
Problems? Still don't understand, or have I just written something stupid (I do apologise if I have but I have written this after a long day at school!) then feel free to email me at char@so-you.net and I'll try to help all I can!
! All tutorials © char, do not copy ! |