PDA

View Full Version : Spaghetti free skin?


liane
06-25-2007, 09:02 AM
This is great software, but the html....nested tables galore! I'm counting 4 deep on some of these...

I just spent 3 hours building a new template, and it failed miserably. I got an error message when I tried to install. This is it:

Error: Failed to load the files for skin 'IGMC'.
The file 'skins/i' does not exist.

Damned if I know where that's coming from. I followed the tutorial carefully. The skin is named "igmc" and it's in the folder "skins".

I'm tired and cranky! I hate tables! Has anyone done an XHTML/CSS template (that validates?)

If anyone knows

abcohen
06-25-2007, 01:02 PM
make sure you're install file is correct sounds like you mislabeled the directory.

crashnet47
06-25-2007, 01:04 PM
XHTML/CSS templates have been created. That shouldn't be an issue as it is simply display information. What does your folder structure look like, because from what you typed, it looks like its looking for files in the "skins/i" folder. Also, check the labeling in your install file.

liane
06-25-2007, 04:02 PM
I should have said "XHMTL/CSS templates that don't use tables for formatting".

The folder is skins/igmc - here is my install file:

<?php

// +---------------------------------------------+

// | Copyright © 2003 - 2007 Subdreamer, LLC |

// | http://www.subdreamer.com |

// | This file may not be redistributed. |

// +---------------------------------------------+



if(!defined('IN_SUBDREAMER'))

die("Hacking attempt!");



$skinname = "IGMC";
$numdesigns = 1;
$previewimage = "igmc/images/designs/preview.jpg";

$authorname = "liane";
$authorlink = 37788;

$designpath = "igmc/design.php";
$maxplugins = 5;
$imagepath = "igmc/images/designs/design.gif";





?>

liane
06-26-2007, 02:26 AM
Is there something there I've done wrong? Someone, please help!

72dpi
06-26-2007, 03:31 AM
Maybe your "if" defined statement stuffing it up, try putting the die statement in brackets, like:



if(!defined('IN_SUBDREAMER'))
{
die("Hacking attempt!");
}
I normally have single quotes in my install.php, like:
$designpath[] = 'myskin/design.php';
But this wshouldn't be the issue.

If this doesn't fix, Perhaps theres a problem with your syntax in your design.php?

Wanna post it?

TullyMan
06-26-2007, 07:19 AM
maybes its the fact that he doesnt have the [] brackets?

72dpi
06-26-2007, 07:28 AM
oops,

ur TOTALLY right Tully, good pickup. I totally missed that.

here's what it should look like mate:


<?php
// +---------------------------------------------+
// | Copyright © 2003 ?2007 Subdreamer |
// | http://www.subdreamer.com |
// | This file may not be redistributed. |
// +---------------------------------------------+

if(!defined('IN_SUBDREAMER'))
{
die("Hacking attempt!");
}

// general skin info

$skinname = 'IGMC';
$numdesigns = 1;
$previewimage = 'igmc/images/designs/preview.jpg';

$authorname = 'liane';
$authorlink = 37788;

$designpath[] = 'igmc/design.php';
$maxplugins[] = 5;
$imagepath[] = 'igmc/images/designs/design.gif';

?>
Really only 5 plugins?
Cmon, add more... U know U like database calls =)

Tute here:
http://www.subdreamer.com/manuals/index.php?manualid=1&pageid=43


Hope that works for u!

liane
06-26-2007, 04:29 PM
oops,

ur TOTALLY right Tully, good pickup. I totally missed that.

here's what it should look like mate:


<?php
// +---------------------------------------------+
// | Copyright © 2003 ?2007 Subdreamer |
// | http://www.subdreamer.com |
// | This file may not be redistributed. |
// +---------------------------------------------+

if(!defined('IN_SUBDREAMER'))
{
die("Hacking attempt!");
}

// general skin info

$skinname = 'IGMC';
$numdesigns = 1;
$previewimage = 'igmc/images/designs/preview.jpg';

$authorname = 'liane';
$authorlink = 37788;

$designpath[] = 'igmc/design.php';
$maxplugins[] = 5;
$imagepath[] = 'igmc/images/designs/design.gif';

?>
Really only 5 plugins?
Cmon, add more... U know U like database calls =)

Tute here:
http://www.subdreamer.com/manuals/index.php?manualid=1&pageid=43


Hope that works for u!


Right in front of my face! Thanks so much, hopefully this takes care of the problem and I can install my own skin! Gracias!

p.s. I'm a "she" :)

HeavyEddie
06-26-2007, 04:46 PM
Geesh 72... you are soooo insensitive :)

Welcome Liane... we need more women in our ranks.

liane
06-26-2007, 06:20 PM
Happy to report that was the problem! The skin installed fine - but it looks like keeee-rap! Time to style....

Thanks, fellas! :)

crashnet47
06-26-2007, 08:46 PM
Great! Glad you got it working! Drop us a link when you get it all setup so we can see how it turned out. :)

72dpi
06-26-2007, 10:25 PM
Geesh 72... you are soooo insensitive :)

Welcome Liane... we need more women in our ranks.

Waaaah, shot down by Ed :(

You of all people should know my language of universal, so when a term "Mate or Matey" then it can be Man, Woman, or Animal heh heh.

Welcome to the forum Liane, Eds right, we do need more women here to make the place nicer (balances out the testosterone :lol:).

If you need any help just post!

liane
06-27-2007, 01:52 AM
Hey, my dad was a lifer in the Marines - I know testosterone! :)

HeavyEddie
06-27-2007, 04:08 AM
Oh yeah, we are going to like you :) Can't wait to see the skin.

liane
06-30-2007, 08:31 PM
Surfacing for air - I ran into a bit of a snag with the skin - a snag called Internet Explorer! :( My 3-column, absolutely-positioned skin that looked so precise and perfect in Firefox and Safari (I use a Mac) looked like a drunk put it together in IE! :(

So I got a little less ambitious - made it 2-column and forgot about absolute positioning. See, what I'm trying to do is put the content as high on the page as possible - something I have found invaluable for search engine purposes. All things being equal (or not so equal, who knows what lurks in the mind of Googlebot?), that site with the juicy stuff nearer the top will probably appear higher in search results...

Anyway, my solution was to make a simple 2 column site and make the content appear first in the source, before the sidebar/navigation, by floating the content div to the right. I'll post it here when I'm done and y'all can critique me!