Help - Search - Members - Calendar
Full Version: [resolved]Skinning your site tutorial
Codegrrl.com Forums > Script Help > Tutorial Help
Violinstar.NET
Hi. How do you make skins.php file? It's not stated in the tutorial. Can someone guide me?
Neuriel
Here's an example:
CODE

<?php include("/home/site/public_html/cookiecheck.php");
include($headervar.$skin.$extension);?>
<h1>Change The Skin</h1>

<ul>
<li> <a href="index2.php?newskin=1">Skin 1</a></li>
<li> <a href="index2.php?newskin=2">Skin 2</a></li>
</ul>

<?php include ($footervar.$skin.$extension); ?>
Violinstar.NET
Erm. The header and footer images does not work now. EG: http://violinstar.net/skins/skins.php
Cine
You need to go up a directory for your images. smile.gif Example:

src="images/header.jpg"

becomes

src="../images/header.jpg"
Violinstar.NET
QUOTE(Cine @ Dec 9 2007, 03:48 AM) *

You need to go up a directory for your images. smile.gif Example:

src="images/header.jpg"

becomes

src="../images/header.jpg"

Ooo... Okay. Thanks!
Violinstar.NET
I encountered another problem. I used Tutorialized's method to skin my site and there's a problem in my http://violinstar.net/setskin.php page. It's been validated but how come there's still problems?

I encountered another problem. I used Jem's method to skin my site and there's a problem in my http://violinstar.net/setskin.php page. It's been validated but how come there's still problems?

EDIT: I recopy the code found in the tutorial and solved the problem.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.