Priya
August 22nd, 2008, 01:04 PM
I bought Marshall's Layout script couple of days back.
I am almost done editing it,but the only thing I can't seem to have a clue is with title tags.
http://www.glitternation.com/myspace-layouts/index.php?id=Bling&page=1
If I use the header that it came with the titles are working fine,but I wanna use my site's header file.when I include my header the layout titles won't show(myspace layouts-type and stuff).
here is whats in my header
<title><?php if(isset($title)) { print $title; } else { print "Glitters,Quotes,Picture Captions,Comments,Layouts,Pixels and More>>Glitternation.com"; } ?></title>
<meta http-equiv="keywords" content="<?php if(isset($keywords)) { print $keywords; } else { print "- "; } ?>" />
<meta http-equiv="description" content="<?php if(isset($description)) { print $description; } else { print "-"} ?>" />
here is it how the cms header now,after my editing:
<?include("/head.php"); ?>
<!--unique-->
<title><?if(defined('title')){echo ucfirst(title);}?></title>
<?if(defined('description')){echo "<meta name=\"description\" content=\"".description."\">\n";}?>
<!--end unique-->
what should I change for it to work ?Please Help,Thanks.
I am almost done editing it,but the only thing I can't seem to have a clue is with title tags.
http://www.glitternation.com/myspace-layouts/index.php?id=Bling&page=1
If I use the header that it came with the titles are working fine,but I wanna use my site's header file.when I include my header the layout titles won't show(myspace layouts-type and stuff).
here is whats in my header
<title><?php if(isset($title)) { print $title; } else { print "Glitters,Quotes,Picture Captions,Comments,Layouts,Pixels and More>>Glitternation.com"; } ?></title>
<meta http-equiv="keywords" content="<?php if(isset($keywords)) { print $keywords; } else { print "- "; } ?>" />
<meta http-equiv="description" content="<?php if(isset($description)) { print $description; } else { print "-"} ?>" />
here is it how the cms header now,after my editing:
<?include("/head.php"); ?>
<!--unique-->
<title><?if(defined('title')){echo ucfirst(title);}?></title>
<?if(defined('description')){echo "<meta name=\"description\" content=\"".description."\">\n";}?>
<!--end unique-->
what should I change for it to work ?Please Help,Thanks.