boardom Forum Index boardom
b2 message board
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

I deleted the info before the <head> from the template

 
Post new topic   Reply to topic    boardom Forum Index -> Template help
View previous topic :: View next topic  
Author Message
ashhart



Joined: 24 Sep 2004
Posts: 7
Location: West Hollywood

PostPosted: Wed Oct 13, 2004 1:30 am    Post subject: I deleted the info before the <head> from the template Reply with quote

I deleted some code out of the original settings of the template and I need to get it back to the original settings that came with it, when I downloaded it from ipowerweb.com. I deleted the code above the <head>. Please help! What is the original code for above the <head> to have the "login", "register" "categories" placed to the right-side of the page. The table has gotten messed up. Please take a look:

http://www.hateboss.com/v-web/b2


Here is how the code is now:
<?php /* Don't remove this line, it calls the b2 function files ! */ $blog=1; include ("blog.header.php"); ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- layout credits goto http://bluerobot.com/web/layouts/layout2.html -->

</head>
<body>
<div id="header"><a href="" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?></a></div>

<div id="content">


<!-- // b2 loop start -->
<?php while($row = mysql_fetch_object($result)) { start_b2(); ?>


<?php the_date("","<h2>","</h2>"); ?>
<?php permalink_anchor(); ?>
<div class="storyTitle"><?php the_title(); ?>
<a href="?cat=<?php the_category_ID() ?>" title="category: <?php the_category() ?>"><span class="storyCategory">[<?php the_category() ?>]</span></a> - 
<span class="storyAuthor"><?php the_author() ?><?php the_time() ?></a>
</div>

<div class="storyContent">
<?php the_content(); ?>

<div class="rightFlush">
<?php link_pages("<br />Pages: ","<br />","number") ?>
<?php comments_popup_link("Comments (0)", "Comments (1)", "Comments (%)") ?>
<?php trackback_popup_link("TrackBack (0)", "TrackBack (1)", "TrackBack (%)") ?>
<?php pingback_popup_link("PingBack (0)", "PingBack (1)", "PingBack (%)") ?>

<?php trackback_rdf() ?>

<!-- this includes the comments and a form to add a new comment -->
<?php include ("b2comments.php"); ?>

<!-- this includes the trackbacks -->
<?php include ("b2trackback.php"); ?>

<!-- this includes the pingbacks -->
<?php include ("b2pingbacks.php"); ?>

</div>

</div>


<!-- // this is just the end of the motor - don't touch that line either Smile -->
<?php } ?>


</div>

<p class="centerP"><?php timer_stop(1); ?>
[powered by <a href="http://cafelog.com" target="_blank"><b>b2</b></a>.]
</p>


<div id="menu">

<h4>Find a New Job:</h4>
<a href="http://www.kqzyfj.com/ha81hz74z6MOSTTRTPMONQTOTST" target="_blank" onmouseover="window.status='http://www.monster.com';return true;" onmouseout="window.status=' ';return true;">
<img src="http://www.lduhtrp.net/he102wquiom79DEECEA798BE9EDE" alt="" border="0"></a><br />

<h4>categories:</h4>

<?php list_cats(0, 'All', 'name'); ?>

<h4>search:</h4>

<form name="searchform" method="get" action="<?php echo $PHP_SELF; /*$siteurl."/".$blogfilename*/ ?>">
<p>
<input type="text" name="s" size="15" /><br />
<input type="submit" name="submit" value="search" />
</p>
</form>

<h4>archives:</h4>

<?php include("b2archives.php"); ?>
<br />


<h4>Add Blog Here:</h4>

<a href="b2login.php">login</a><br />
<a href="b2register.php">register</a><br />
<br />

<a href="b2rss.php"><img src="b2-img/xml.gif" alt="view this weblog as RSS !" width="36" height="14" border="0" /></a><br />
<a href="http://validator.w3.org/check/referer" title="this page validates as XHTML 1.0 Transitional"><img src="http://www.w3.org/Icons/valid-xhtml10.gif" alt="Valid XHTML 1.0!" height="31" width="88" border="0" /></a>

</div>

<div id="chaff">
<a href="mailto:abuse@[127.0.0.1]" title="anti sp@mbot addrss">4 sp@mbots e-mail me</a>
</div>
<!-- BlueRobot was here. -->
</body>
</html>


Thanks.
Back to top
View user's profile Send private message Visit poster's website
Sigg3



Joined: 03 Jul 2003
Posts: 909
Location: Oslo, Norway

PostPosted: Wed Oct 13, 2004 8:16 am    Post subject: Reply with quote

You deleted a line that linked your css, which in turns leaves your page "un-parsed" (in design-perspective)... Ok..

<link rel="stylesheet" type="text/css" href="yourcss.css">

must be in <head>.
You should know what css file you used, of course.
If you had the default one, it's probably b2layout.css or something. Try..
_________________
Sigg3.net - You know you're worth it! | b2 Cafelog Resource Center | Fight my BattleImp!
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
ashhart



Joined: 24 Sep 2004
Posts: 7
Location: West Hollywood

PostPosted: Wed Oct 13, 2004 4:58 pm    Post subject: Didn't change-it stayed the same, even with added code Reply with quote

Sigg3 wrote:
You deleted a line that linked your css, which in turns leaves your page "un-parsed" (in design-perspective)... Ok..

<link rel="stylesheet" type="text/css" href="yourcss.css">

must be in <head>.
You should know what css file you used, of course.
If you had the default one, it's probably b2layout.css or something. Try..


It was the default code that I used, when I dowloaded the blog product. I tried what you said and put it in the <head> and there has been no change. Did I put it in the wrong place or is there another place that the code should go?

Please let me know. Thanks. The code is below.

You may also review what it looks like at: http://www.hateboss.com/v-web/b2


<?php /* Don't remove this line, it calls the b2 function files ! */ $blog=1; include ("blog.header.php"); ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- layout credits goto http://bluerobot.com/web/layouts/layout2.html -->
<head>
<link rel="stylesheet" type="text/css" href="b2layout.css">
</head>
<body>
<div id="header"><a href="" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?></a></div>

<div id="content">


<!-- // b2 loop start -->
<?php while($row = mysql_fetch_object($result)) { start_b2(); ?>


<?php the_date("","<h2>","</h2>"); ?>
<?php permalink_anchor(); ?>
<div class="storyTitle"><?php the_title(); ?>
<a href="?cat=<?php the_category_ID() ?>" title="category: <?php the_category() ?>"><span class="storyCategory">[<?php the_category() ?>]</span></a> - 
<span class="storyAuthor"><?php the_author() ?><?php the_time() ?></a>
</div>

<div class="storyContent">
<?php the_content(); ?>

<div class="rightFlush">
<?php link_pages("<br />Pages: ","<br />","number") ?>
<?php comments_popup_link("Comments (0)", "Comments (1)", "Comments (%)") ?>
<?php trackback_popup_link("TrackBack (0)", "TrackBack (1)", "TrackBack (%)") ?>
<?php pingback_popup_link("PingBack (0)", "PingBack (1)", "PingBack (%)") ?>

<?php trackback_rdf() ?>

<!-- this includes the comments and a form to add a new comment -->
<?php include ("b2comments.php"); ?>

<!-- this includes the trackbacks -->
<?php include ("b2trackback.php"); ?>

<!-- this includes the pingbacks -->
<?php include ("b2pingbacks.php"); ?>

</div>

</div>


<!-- // this is just the end of the motor - don't touch that line either Smile -->
<?php } ?>


</div>

<p class="centerP"><?php timer_stop(1); ?>
[powered by <a href="http://cafelog.com" target="_blank"><b>b2</b></a>.]
</p>


<div id="menu">

<h4>Find a New Job:</h4>
<a href="http://www.kqzyfj.com/ha81hz74z6MOSTTRTPMONQTOTST" target="_blank" onmouseover="window.status='http://www.monster.com';return true;" onmouseout="window.status=' ';return true;">
<img src="http://www.lduhtrp.net/he102wquiom79DEECEA798BE9EDE" alt="" border="0"></a><br />

<h4>categories:</h4>

<?php list_cats(0, 'All', 'name'); ?>

<h4>search:</h4>

<form name="searchform" method="get" action="<?php echo $PHP_SELF; /*$siteurl."/".$blogfilename*/ ?>">
<p>
<input type="text" name="s" size="15" /><br />
<input type="submit" name="submit" value="search" />
</p>
</form>

<h4>archives:</h4>

<?php include("b2archives.php"); ?>
<br />


<h4>Add Blog Here:</h4>

<a href="b2login.php">login</a><br />
<a href="b2register.php">register</a><br />
<br />

<a href="b2rss.php"><img src="b2-img/xml.gif" alt="view this weblog as RSS !" width="36" height="14" border="0" /></a><br />
<a href="http://validator.w3.org/check/referer" title="this page validates as XHTML 1.0 Transitional"><img src="http://www.w3.org/Icons/valid-xhtml10.gif" alt="Valid XHTML 1.0!" height="31" width="88" border="0" /></a>

</div>

<div id="chaff">
<a href="mailto:abuse@[127.0.0.1]" title="anti sp@mbot addrss">4 sp@mbots e-mail me</a>
</div>
<!-- BlueRobot was here. -->
</body>
</html>
Back to top
View user's profile Send private message Visit poster's website
Sigg3



Joined: 03 Jul 2003
Posts: 909
Location: Oslo, Norway

PostPosted: Wed Oct 13, 2004 8:46 pm    Post subject: Reply with quote

I'm quite confident that you've deleted the line that includes your css file.
BUT you are using a Bluerobot design. Look in your /b2/ folder after css files and try using them with the line provided. It's probably named according to BlueRobot defaults. If you have a seperate folder with bluerobot img files or so, look there as well.
_________________
Sigg3.net - You know you're worth it! | b2 Cafelog Resource Center | Fight my BattleImp!
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> Template help All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2 © 2001, 2002 phpBB Group