Recent Topics

1 Jul 23, 2005 16:56    

I'm using b2evolution for my site, but was wondering whether I could somehow integrate my guestbook, gallery, and the rest of my site into the b2evolution template for my blog.

Is there some sort of plugin that does this already? If so, can I have the url? If not, can anyone make this for me?

Thanks. I appreciate it a lot.

3 Jul 23, 2005 20:32

I was thinking of using a stub file like /blog/blog.php and just using a PHP include, but then the templates would be different. If I use another blog, I don't know if it will work. I want to have a gallery, guestbook, and a bunch of other pages that interact with another mysql db.

4 Jul 23, 2005 21:21

Yes, you certainly could do that too. It should all be fine.

5 Jul 23, 2005 22:04

I have a little bit of a problem. I created a different blog and created the php page that corresponds with it using the code in the thread you mentioned. However, b2evolution treats it as a blog and on the main blog (which is supposed to be the real blog) it shows up there too. I also want to get rid of all the extra footings (eg: add comments, etc.) as well as the links on the left side of the custom pages (including search box, etc.)

How do I do all of this?

6 Jul 23, 2005 23:59

Make a different skin for your custom page, which has all these removed.

7 Jul 24, 2005 20:53

Graham wrote:

Make a different skin for your custom page, which has all these removed.

I'm using the skin "custom" in the stub files for all the non-blog pages. How do I keep the same skin - custom - for the non-blog pages and remove the extras - add comments, category, etc.?

8 Jul 25, 2005 00:39

Make a copy of the skin custom, call it whatever you want.

Then edit it, so that the calls to the comments and whatever else you dont want are deleted or commented out. Then set the stub file to use that skin.

9 Jul 25, 2005 02:47

Graham wrote:

Make a copy of the skin custom, call it whatever you want.

Then edit it, so that the calls to the comments and whatever else you dont want are deleted or commented out. Then set the stub file to use that skin.

How do you make a copy of the skin? I don't see any option in the user control panel. (Sorry for asking all these dumb questions...I'm a n00bie at this.)

10 Jul 25, 2005 08:19

Make a copy of skins/yourskinname. There is no option in the backoffice.

Each skin is in it's own folder. After that, you're on your own. There are a gazillion posts and manual entries on customising your skin. Read them first, since most questions will have been asked before.

11 Jul 25, 2005 14:28

I copied the contents of the custom folder into a new folder "custom_2" in the skins directory. I changed skin on all the stub files to "custom_2" as well as in the admin control panel.

However, I get this problem: http://joelscaria.info/blogs/sites.php The blog repeats itself after the footer on the pages that run on stub files.

What went wrong?

12 Jul 25, 2005 23:13

It looks fine to me. I guess you must have fixed it.

13 Jul 26, 2005 01:12

You have to scroll all the way down after the rss validation logo, W3C logo, etc. The navigation at the top repeats itself after the footer. I'm using FireFox.

14 Jul 26, 2005 04:57

I see what you mean - you have to let the page fully load (took over a minute for me) to see it.

It looks like you have (accidentally) copied part of your template file from the top and pasted it at the bottom. Do a search in your _main.php file for this string:

!DOCTYPE

You should find it twice - once near the top, and once again just after the closing HTML tag. Everything after that closing HTML tag should be deleted from the file.

15 Jul 26, 2005 14:50

I only found one !DOCTYPE tag and that was at the beginning of the page.

16 Jul 27, 2005 21:08

Try searching for </html> and then post what is in the file after that tag. Is there an include statement that is pulling in some other file or something? That code has to be coming from somewhere...

17 Jul 27, 2005 21:26

I only found one </html> tag in the custom_2/_main.php.

Here's the page:


<?php
	/**
	 * This is the main template. It displays the blog.
	 *
	 * However this file is not meant to be called directly.
	 * It is meant to be called automagically by b2evolution.
	 * To display a blog, you should call a stub file instead, for example:
	 * /blogs/index.php or /blogs/blog_b.php
	 *
	 * b2evolution - {@link http://b2evolution.net/}
	 * Released under GNU GPL License - {@link http://b2evolution.net/about/license.html}
	 * @copyright (c)2003-2004 by Francois PLANQUE - {@link http://fplanque.net/}
	 *
	 * @package evoskins
	 * @subpackage custom
	 */
if( !defined('DB_USER') ) die( 'Please, do not access this page directly.' );
?>
<!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" xml:lang="<?php locale_lang() ?>" lang="<?php locale_lang() ?>">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php locale_charset() ?>" />
<title><?php
	$Blog->disp('name', 'htmlhead');
	single_cat_title( ' - ', 'htmlhead' );
	single_month_title( ' - ', 'htmlhead' );
	single_post_title( ' - ', 'htmlhead' );
	arcdir_title( ' - ', 'htmlhead' );
	last_comments_title( ' - ', 'htmlhead' );
	stats_title( ' - ', 'htmlhead' );
?>
</title>
<base href="<?php skinbase(); // Base URL for this skin. You need this to fix relative links! ?>" />
<meta name="description" content="<?php $Blog->disp( 'shortdesc', 'htmlattr' ); ?>" />
<meta name="keywords" content="<?php $Blog->disp( 'keywords', 'htmlattr' ); ?>" />
<meta name="generator" content="b2evolution <?php echo $b2_version ?>" /> <!-- Please leave this for stats -->
<link rel="alternate" type="text/xml" title="RDF" href="<?php $Blog->disp( 'rdf_url', 'raw' ) ?>" />
<link rel="alternate" type="text/xml" title="RSS .92" href="<?php $Blog->disp( 'rss_url', 'raw' ) ?>" />
<link rel="alternate" type="text/xml" title="RSS 2.0" href="<?php $Blog->disp( 'rss2_url', 'raw' ) ?>" />
<link rel="alternate" type="application/atom+xml" title="Atom" href="<?php $Blog->disp( 'atom_url', 'raw' ) ?>" />
<link rel="pingback" href="<?php $Blog->disp( 'pingback_url', 'raw' ) ?>" />
<link rel="stylesheet" href="custom.css" type="text/css" />
</head>
<body>
<div id="wrapper">

<?php 
	/**
	 * --------------------------- BLOG LIST INCLUDED HERE -----------------------------
	 */
	require( dirname(__FILE__).'/_bloglist.php' );
	// ----------------------------- END OF BLOG LIST ---------------------------- ?>

<div class="pageHeader">

<h1 id="pageTitle"><?php $Blog->disp( 'name', 'htmlbody' ) ?></h1>

<div class="pageSubTitle"><?php $Blog->disp( 'tagline', 'htmlbody' ) ?></div>

</div>

<div class="bPosts">
<h2><?php
	single_cat_title();
	single_month_title();
	single_post_title();
	arcdir_title();
	last_comments_title();
	stats_title();
	profile_title();
?></h2>

<!-- =================================== START OF MAIN AREA =================================== -->

<?php // ------------------------------------ START OF POSTS ----------------------------------------
	if( isset($MainList) ) $MainList->display_if_empty(); // Display message if no post

	if( isset($MainList) ) while( $Item = $MainList->get_item() )
	{
		$MainList->date_if_changed();
	?>
	<div class="bPost" lang="<?php $Item->lang() ?>">
		<?php
			locale_temp_switch( $Item->locale ); // Temporarily switch to post locale
			$Item->anchor(); // Anchor for permalinks to refer to
		?>
		<div class="bSmallHead">
		<a href="<?php $Item->permalink() ?>" title="<?php echo T_('Permanent link to full entry') ?>"><img src="img/icon_minipost.gif" alt="Permalink" width="12" height="9" class="middle" /></a>
		<?php
			$Item->issue_time();
			echo ', ', T_('Categories'), ': ';
			$Item->categories();
			echo ', ';
			$Item->wordcount();
			echo ' ', T_('words'), ' &nbsp; ';
			locale_flag( $Item->locale, 'h10px' );
		?>
		</div>
		<h3 class="bTitle"><?php $Item->title(); ?></h3>
		<div class="bText">
			<?php $Item->content(); ?>
			<?php link_pages() ?>
		</div>
		<div class="bSmallPrint">
			<a href="<?php $Item->permalink() ?>" title="<?php echo T_('Permanent link to full entry') ?>" class="permalink_right"><img src="img/chain_link.gif" alt="<?php echo T_('Permalink') ?>" width="14" height="14" border="0" class="middle" /></a>

			<?php $Item->feedback_link( 'comments' ) // Link to comments ?>
			<?php $Item->feedback_link( 'trackbacks', ' &bull; ' ) // Link to trackbacks ?>
			<?php $Item->feedback_link( 'pingbacks', ' &bull; ' ) // Link to trackbacks ?>

			<?php $Item->edit_link( ' &bull; ' ) // Link to backoffice for editing ?>

			<?php $Item->trackback_rdf() // trackback autodiscovery information ?>
		</div>
			<?php // ------------- START OF INCLUDE FOR COMMENTS, TRACKBACK, PINGBACK, ETC. -------------
			$disp_comments = 1;					// Display the comments if requested
			$disp_comment_form = 1;			// Display the comments form if comments requested
			$disp_trackbacks = 1;				// Display the trackbacks if requested

			$disp_trackback_url = 1;		// Display the trackbal URL if trackbacks requested
			$disp_pingbacks = 1;				// Display the pingbacks if requested
			require( dirname(__FILE__).'/_feedback.php' );
			// ---------------- END OF INCLUDE FOR COMMENTS, TRACKBACK, PINGBACK, ETC. ----------------

			locale_restore_previous();	// Restore previous locale (Blog locale)
			?>
	</div>
<?php } // ---------------------------------- END OF POSTS ------------------------------------ ?>

	<p class="center"><strong>
		<?php posts_nav_link(); ?>
		<?php 
			// previous_post( '<p class="center">%</p>' );
			// next_post( '<p class="center">%</p>' );
		?>
	</strong></p>

<?php // ---------------- START OF INCLUDES FOR LAST COMMENTS, STATS ETC. ----------------
	switch( $disp )
	{
		case 'comments':
			// this includes the last comments if requested:
			require( dirname(__FILE__).'/_lastcomments.php' );
			break;

		case 'stats':
			// this includes the statistics if requested:
			require( dirname(__FILE__).'/_stats.php');
			break;

		case 'arcdir':
			// this includes the archive directory if requested
			require( dirname(__FILE__).'/_arcdir.php');
			break;

		case 'profile':
			// this includes the profile form if requested
			require( dirname(__FILE__).'/_profile.php');
			break;
	}
// ------------------- END OF INCLUDES FOR LAST COMMENTS, STATS ETC. ------------------- ?>
</div>
<!-- =================================== START OF SIDEBAR =================================== -->

<div class="bSideBar">

	<div class="bSideItem">
		<h3><?php $Blog->disp( 'name', 'htmlbody' ) ?></h3>
		<p><?php $Blog->disp( 'longdesc', 'htmlbody' ); ?></p>
		<p class="center"><strong><?php posts_nav_link( ' | ', '< '.T_('Previous'), T_('Next').' >' ); ?></strong></p>
		<!--?php next_post(); // activate this if you want a link to the next post in single page mode ?-->
		<!--?php previous_post(); // activate this if you want a link to the previous post in single page mode ?-->
		<ul>
			<li><a href="<?php $Blog->disp( 'staticurl', 'raw' ) ?>"><strong><?php echo T_('Recently') ?></strong></a> <span class="dimmed"><?php echo T_('(cached)') ?></span></li>
			<li><a href="<?php $Blog->disp( 'dynurl', 'raw' ) ?>"><strong><?php echo T_('Recently') ?></strong></a> <span class="dimmed"><?php echo T_('(no cache)') ?></span></li>
		</ul>
		<?php // -------------------------- CALENDAR INCLUDED HERE -----------------------------
			require( dirname(__FILE__).'/_calendar.php' );
			// -------------------------------- END OF CALENDAR ---------------------------------- ?>
		<ul>
			<li><a href="<?php $Blog->disp( 'lastcommentsurl', 'raw' ) ?>"><strong><?php echo T_('Last comments') ?></strong></a></li>
			<li><a href="<?php $Blog->disp( 'blogstatsurl', 'raw' ) ?>"><strong><?php echo T_('Some viewing statistics') ?></strong></a></li>
		</ul>
	</div>

	<div class="bSideItem">
		<h3 class="sideItemTitle"><?php echo T_('Search') ?></h3>
		<?php form_formstart( $Blog->dget( 'blogurl', 'raw' ), 'search', 'SearchForm' ) ?>
			<p><input type="text" name="s" size="30" value="<?php echo htmlspecialchars($s) ?>" class="SearchField" /><br />
			<input type="radio" name="sentence" value="AND" id="sentAND" <?php if( $sentence=='AND' ) echo 'checked="checked" ' ?>/><label for="sentAND"><?php echo T_('All Words') ?></label><br />
			<input type="radio" name="sentence" value="OR" id="sentOR" <?php if( $sentence=='OR' ) echo 'checked="checked" ' ?>/><label for="sentOR"><?php echo T_('Some Word') ?></label><br />
			<input type="radio" name="sentence" value="sentence" id="sentence" <?php if( $sentence=='sentence' ) echo 'checked="checked" ' ?>/><label for="sentence"><?php echo T_('Entire phrase') ?></label></p>
			<input type="submit" name="submit" class="submit" value="<?php echo T_('Search') ?>" />
		</form>
	</div>

	<div class="bSideItem">
		<h3><?php echo T_('Categories') ?></h3>
		<?php form_formstart( $Blog->dget( 'blogurl', 'raw' ) ) ?>
		<?php // -------------------------- CATEGORIES INCLUDED HERE -----------------------------
			require( dirname(__FILE__).'/_categories.php' );
			// -------------------------------- END OF CATEGORIES ---------------------------------- ?>
		<br />
		<input type="submit" class="submit" value="<?php echo T_('Get selection') ?>" />
		</form>
	</div>

	<div class="bSideItem">
		<h3><?php echo T_('Archives') ?></h3>
		<ul>
			<?php // -------------------------- ARCHIVES INCLUDED HERE -----------------------------
				require( dirname(__FILE__).'/_archives.php' );
				// -------------------------------- END OF ARCHIVES ---------------------------------- ?>
				<li><a href="<?php $Blog->disp( 'arcdirurl', 'raw' ) ?>"><?php echo T_('more...') ?></a></li>
		</ul>
	</div>

	<?php if( ! $Blog->get('force_skin') )
	{	// Skin switching is allowed for this blog: ?>
		<div class="bSideItem">
			<h3><?php echo T_('Choose skin') ?></h3>
			<ul>
				<?php // ------------------------------- START OF SKIN LIST -------------------------------
				for( skin_list_start(); skin_list_next(); ) { ?>
					<li><a href="<?php skin_change_url() ?>"><?php skin_list_iteminfo( 'name', 'htmlbody' ) ?></a></li>
				<?php } // ------------------------------ END OF SKIN LIST ------------------------------ ?>
			</ul>
		</div>
	<?php } ?>
	
	<?php if ($disp != 'stats') 
	{ ?>
	<div class="bSideItem">
		<h3><?php echo T_('Recent Referers') ?></h3>
			<?php refererList(5, 'global', 0, 0, 'no', '', ($blog > 1) ? $blog : ''); ?>
			<ul>
				<?php if( count( $res_stats ) ) foreach( $res_stats as $row_stats ) { ?>
					<li><a href="<?php stats_referer() ?>"><?php stats_basedomain() ?></a></li>
				<?php } // End stat loop ?>
				<li><a href="<?php $Blog->disp( 'blogstatsurl', 'raw' ) ?>"><?php echo T_('more...') ?></a></li>
			</ul>
		<br />
		<h3><?php echo T_('Top Referers') ?></h3>
			<?php refererList(5, 'global', 0, 0, 'no', 'baseDomain', ($blog > 1) ? $blog : ''); ?>
			<ul>
				<?php if( count( $res_stats ) ) foreach( $res_stats as $row_stats ) { ?>
					<li><a href="<?php stats_referer() ?>"><?php stats_basedomain() ?></a></li>
				<?php } // End stat loop ?>
				<li><a href="<?php $Blog->disp( 'blogstatsurl', 'raw' ) ?>"><?php echo T_('more...') ?></a></li>
			</ul>
	</div>

	<?php } ?>


	<?php // -------------------------- LINKBLOG INCLUDED HERE -----------------------------
		require( dirname(__FILE__).'/_linkblog.php' );
		// -------------------------------- END OF LINKBLOG ---------------------------------- ?>


	<div class="bSideItem">
		<h3><?php echo T_('Misc') ?></h3>
		<ul>
			<?php
				user_login_link( '<li>', '</li>' );
				user_register_link( '<li>', '</li>' );
				user_admin_link( '<li>', '</li>' );
				user_profile_link( '<li>', '</li>' );
				user_logout_link( '<li>', '</li>' );
			?>
		</ul>
	</div>

	<div class="bSideItem">
		<h3><?php echo T_('Syndicate this blog') ?> <img src="../../img/xml.gif" alt="XML" width="36" height="14" class="middle" /></h3>
			<ul>
				<li>
					RSS 0.92:
					<a href="<?php $Blog->disp( 'rss_url', 'raw' ) ?>"><?php echo T_('Posts') ?></a>,
					<a href="<?php $Blog->disp( 'comments_rss_url', 'raw' ) ?>"><?php echo T_('Comments') ?></a>
				</li>
				<li>
					RSS 1.0:
					<a href="<?php $Blog->disp( 'rdf_url', 'raw' ) ?>"><?php echo T_('Posts') ?></a>,
					<a href="<?php $Blog->disp( 'comments_rdf_url', 'raw' ) ?>"><?php echo T_('Comments') ?></a>
				</li>
				<li>
					RSS 2.0:
					<a href="<?php $Blog->disp( 'rss2_url', 'raw' ) ?>"><?php echo T_('Posts') ?></a>,
					<a href="<?php $Blog->disp( 'comments_rss2_url', 'raw' ) ?>"><?php echo T_('Comments') ?></a>
				</li>
				<li>
					Atom:
					<a href="<?php $Blog->disp( 'atom_url', 'raw' ) ?>"><?php echo T_('Posts') ?></a>,
					<a href="<?php $Blog->disp( 'comments_atom_url', 'raw' ) ?>"><?php echo T_('Comments') ?></a>
				</li>
			</ul>
			<a href="http://fplanque.net/Blog/itTrends/2004/01/10/rss_rdf_and_atom_in_a_nutshell" title="External - English">What is RSS?</a>

	</div>
<p class="center">powered by<br />
<a href="http://b2evolution.net/" title="b2evolution home"><img src="../../img/b2evolution_logo_80.gif" alt="b2evolution" width="80" height="17" border="0" class="middle" /></a></p>

</div>
<div id="pageFooter">
	<p class="baseline">
		Original template design by <a href="http://fplanque.net/">François PLANQUE</a>.
	</p>
	<div class="center">
		<a href="http://validator.w3.org/check/referer"><img style="border:0;width:88px;height:31px" src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" class="middle" /></a>
	
		<a href="http://jigsaw.w3.org/css-validator/"><img style="border:0;width:88px;height:31px" src="http://jigsaw.w3.org/css-validator/images/vcss" alt="Valid CSS!" class="middle" /></a>
	
		<a href="http://feedvalidator.org/check.cgi?url=<?php $Blog->disp( 'rss2_url', 'raw' ) ?>"><img src="../../img/valid-rss.png" alt="Valid RSS!" style="border:0;width:88px;height:31px" class="middle" /></a>
	
		<a href="http://feedvalidator.org/check.cgi?url=<?php $Blog->disp( 'atom_url', 'raw' ) ?>"><img src="../../img/valid-atom.png" alt="Valid Atom!" style="border:0;width:88px;height:31px" class="middle" /></a>
	</div>
	
	<?php
		log_hit();	// log the hit on this page
		debug_info(); // output debug info if requested
	?>
</div>
</div>
</body>
</html>

19 Jul 27, 2005 21:47

It's a stub file:


<?php
$blog = 6;      // select the blog that is your 'about' blog  I take 5 in the example, because there are allreday 4 in the default b2e setting
$posts=1;       // number of posts you want to display; on this contact/about me page, we only want 1 post
$skin = 'custom_2';    // Tell b2evolution you don't want to use evoSkins for this template:
$show_statuses = array(); // This setting retricts posts to those published, thus hiding drafts.
$linkblog = 4; // If you want to show a linkblog/blogroll with your favorite links/sites/whatever 
$linkblog_cat = '12'; // This is the list of categories to restrict the linkblog to (cats will be displayed recursively)
$timestamp_min = ''; // we want to show posts that are published in the past
$timestamp_max = 'now'; // we don't want future posts to appear
require(dirname(__FILE__).'/b2evocore/_blog_main.php');
# Now, below you'll find the main template...
?>
<!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" xml:lang="<?php locale_lang() ?>" lang="<?php locale_lang() ?>">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=<?php locale_charset() ?>" />
   <title><?php $Blog->disp('name', 'htmlhead'); ?></title>

<base href="<?php skinbase(); // You're not using any skin here but this won't hurt. However it will be very helpfull to have this here when you make the switch to a skin! ?>" />
<meta name="description" content="<?php $Blog->disp( 'shortdesc', 'htmlattr' ); ?>" />
<meta name="keywords" content="<?php $Blog->disp( 'keywords', 'htmlattr' ); ?>" />
<meta name="generator" content="b2evolution <?php echo $b2_version ?>" /> <!-- Please leave this for stats -->
<link rel="alternate" type="text/xml" title="RDF" href="<?php $Blog->disp( 'rdf_url', 'raw' ) ?>" />
<link rel="alternate" type="text/xml" title="RSS .92" href="<?php $Blog->disp( 'rss_url', 'raw' ) ?>" />
<link rel="alternate" type="text/xml" title="RSS 2.0" href="<?php $Blog->disp( 'rss2_url', 'raw' ) ?>" />
<link rel="alternate" type="application/atom+xml" title="Atom" href="<?php $Blog->disp( 'atom_url', 'raw' ) ?>" />
<link rel="pingback" href="<?php $Blog->disp( 'pingback_url', 'raw' ) ?>" />
<link rel="stylesheet" href="skins/custom/custom.css" type="text/css" /> <!-- Link to your stylesheet -->
</head>
<body>
<div id="wrapper">
<?php //  BLOG LIST INCLUDED HERE - take the same layout as your other pages
   # this is what will start and end your blog links
   if(!isset($blog_list_start)) $blog_list_start = '<ul id="bloglist">';            
   if(!isset($blog_list_end)) $blog_list_end = '</ul>';            
   # this is what will separate your blog links
   if(!isset($blog_item_start)) $blog_item_start = '<li>';            
   if(!isset($blog_item_end)) $blog_item_end = "</li>\n";
   # This is the class of for the selected blog link:
   if(!isset($blog_selected_link_class)) $blog_selected_link_class = 'BlogButtonCurr';
   # This is the class of for the other blog links:
   if(!isset($blog_other_link_class)) $blog_other_link_class = 'BlogButton';
   # This is additionnal markup before and after the selected blog name
   if(!isset($blog_selected_name_before)) $blog_selected_name_before = '';            
   if(!isset($blog_selected_name_after)) $blog_selected_name_after = '';
   # This is additionnal markup before and after the other blog names
   if(!isset($blog_other_name_before)) $blog_other_name_before = '';            
   if(!isset($blog_other_name_after)) $blog_other_name_after = '';
   # This is the blogparam that will be displayed as the name:
   if(!isset($blog_name_param)) $blog_name_param = 'shortname';
   # This is the blogparam that will be displayed as the link title:
   if(!isset($blog_title_param)) $blog_title_param = 'name';
   // Include the bloglist
   require( get_path('skins').'/_bloglist.php');
   // ---------------------------------- END OF BLOG LIST --------------------------------- ?>
               
            
<div class="pageHeader">

<h1 id="pageTitle"><?php $Blog->disp( 'name', 'htmlbody' ) ?></h1>

<div class="pageSubTitle"><?php $Blog->disp( 'tagline', 'htmlbody' ) ?></div>

</div>

<div class="bPosts">

<!-- =================================== START OF MAIN AREA =================================== -->

<?php // ------------------------------------ START OF POSTS ----------------------------------------
   if( isset($MainList) ) $MainList->display_if_empty(); // Display message if no post

   if( isset($MainList) ) while( $Item = $MainList->get_item() )
   {
   ?>

     <div class="bPost<?php $Item->disp('status', 'htmlattr'); ?>" lang="<?php $Item->lang() ?>">
        <?php
         $Item->anchor(); // Anchor for permalinks to refer to
         locale_temp_switch( $Item->locale ); // Temporarily switch to post locale
      ?>
      <div class="bPostTitle"><?php $Item->title(); ?><?php $Item->edit_link() ?></div>
         <div class="bText">
              <?php $Item->content('#','#','read more','','<p>','...</p>'); ?>
         </div>
      <?php
         $comment_author = isset($_COOKIE[$cookie_name]) ? trim($_COOKIE[$cookie_name]) : '';
         $comment_author_email = isset($_COOKIE[$cookie_email]) ? trim($_COOKIE[$cookie_email]) : '';
         $comment_author_url = isset($_COOKIE[$cookie_url]) ? trim($_COOKIE[$cookie_url]) : '';
      ?>
      
      <!-- form to add a comment -->
      <form action="<?php echo $htsrv_url ?>/comment_post.php" method="post" class="bComment">
      
         <input type="hidden" name="comment_post_ID" value="<?php $Item->ID() ?>" />
         <input type="hidden" name="redirect_to" value="<?php echo regenerate_url() ?>" />

         <?php
            form_text( 'author', $comment_author, 40, T_('Name'), '', 100, 'bComment' );
            form_text( 'email', $comment_author_email, 40, T_('Email'), T_('Your email address will <strong>not</strong> be displayed on this site.'), 100, 'bComment' );
            form_text( 'url', $comment_author_url, 40, T_('Site/Url'), T_('Your URL will be displayed.'), 100, 'bComment' );
            form_textarea( 'comment', '', 12, T_('Comment text'), T_('Allowed XHTML tags').': '.htmlspecialchars(str_replace( '><',', ', $comment_allowed_tags)).'<br />'.T_('URLs, email, AIM and ICQs will be converted automatically.'), 40, 'bComment' );
         ?>
               
         <fieldset>
            
            <div class="input">
            <?php if( substr($comments_use_autobr,0,4) == 'opt-') { ?>
            <input type="checkbox" class="checkbox" name="comment_autobr" value="1" <?php if($comments_use_autobr == 'opt-out') echo ' checked="checked"' ?> tabindex="6" id="comment_autobr" /> <label for="comment_autobr"><?php echo T_('Auto-BR') ?></label> <span class="notes">(<?php echo T_('Line breaks become &lt;br /&gt;') ?>)</span><br />
            <?php }
            if( ! is_logged_in() )
            { // User is not logged in:
               ?>
               <input type="checkbox" class="checkbox" name="comment_cookies" value="1" checked="checked" tabindex="7" id="comment_cookies" /> <label for="comment_cookies"><?php echo T_('Remember me') ?></label> <span class="notes"><?php echo T_('(Set cookies for name, email &amp; url)') ?></span>
               <?php
            } ?>
            </div>
         </fieldset>
      
         <fieldset>
            <div class="input">
               <input type="submit" name="submit" class="submit" value="<?php echo T_('Send comment') ?>" tabindex="8" />
            </div>
         </fieldset>
      
         <div class="clear"></div>
      
      </form>
    </div>
  <?php } // ---------------------------------- END OF POSTS ------------------------------------ ?>

</div>
<!-- =================================== START OF SIDEBAR =================================== -->

<div class="bSideBar">

   <div class="bSideItem">
      <h3><?php $Blog->disp( 'name', 'htmlbody' ) ?></h3>
      <p><?php $Blog->disp( 'longdesc', 'htmlbody' ); ?></p>
   </div>


   <?php // -------------------------- LINKBLOG INCLUDED HERE -----------------------------
      require( get_path('skins').'/_linkblog.php' );
      // -------------------------------- END OF LINKBLOG ---------------------------------- ?>


   <div class="bSideItem">
      <h3><?php echo T_('Misc') ?></h3>
      <ul>
         <?php
            user_login_link( '<li>', '</li>' );
            user_register_link( '<li>', '</li>' );
            user_admin_link( '<li>', '</li>' );
            user_profile_link( '<li>', '</li>' );
            user_logout_link( '<li>', '</li>' );
         ?>
      </ul>
   </div>
</div>
<div id="pageFooter">
 
   
   
   <?php
      log_hit();   // log the hit on this page
      debug_info(); // output debug info if requested
   ?>
</div>
</div>
</body> 

20 Jul 27, 2005 22:19

Well, that's where your second header and page body is coming from. Delete everything starting with the <!DOCTYPE> tag from that file. You only need all that code if you are using a stub file without a skin.

Your stub file should look like this:

<?php
$blog = 6;      // select the blog that is your 'about' blog  I take 5 in the example, because there are allreday 4 in the default b2e setting
$posts=1;       // number of posts you want to display; on this contact/about me page, we only want 1 post
$skin = 'custom_2';    // Tell b2evolution you don't want to use evoSkins for this template:
$show_statuses = array(); // This setting retricts posts to those published, thus hiding drafts.
$linkblog = 4; // If you want to show a linkblog/blogroll with your favorite links/sites/whatever
$linkblog_cat = '12'; // This is the list of categories to restrict the linkblog to (cats will be displayed recursively)
$timestamp_min = ''; // we want to show posts that are published in the past
$timestamp_max = 'now'; // we don't want future posts to appear
require(dirname(__FILE__).'/b2evocore/_blog_main.php');
# Now, below you'll find the main template...
?> 

21 Jul 27, 2005 23:35

Ok...thanks so much...I can edit custom_2 skin _main.php file to not display comments, etc. right? all my stub files use the custom_2 skin

22 Jul 27, 2005 23:43

You're welcome, and yes - the _main.php file in your skins folder (as well as the .css file there) is where you should make all your customizations.

23 Jul 28, 2005 00:19

Kweb wrote:

You're welcome, and yes - the _main.php file in your skins folder (as well as the .css file there) is where you should make all your customizations.

Ok...thanks once again. A mod can lock this now if they want to

24 Sep 22, 2005 18:30

I didn't notice it until I got a comment. However, not only does it repeat at the bottom of the page, this HTML appears on the page:

font-size:120%; color:#29303B; margin:0; padding:0; } #comments-block { line-height:1.5em; } .comment-poster { background:url("http://www.blogblog.com/scribe/list_icon.gif") no-repeat 2px .35em; margin:.5em 0 0; padding:0 0 0 20px; font-weight:bold; } .comment-body { margin:0; padding:0 0 0 20px; } .comment-body p { font-size:100%; margin:0 0 .2em 0; } .comment-timestamp { font-family:Verdana, sans-serif; color:#29303B; font-size:74%; margin:0 0 10px; padding:0 0 .75em 20px; } .comment-timestamp a:link { color:#473624; text-decoration:underline; } .comment-timestamp a:visited { color:#716E6C; text-decoration:underline; } .comment-timestamp a:hover { color:#956839; text-decoration:underline; } .comment-timestamp a:active { color:#956839; text-decoration:none; } .deleted-comment { font-style:italic; color:gray; } /* Profile ----------------------------------------------- */ #profile-container { margin-top:12px; padding-top:12px; height:auto; background:url("http://www.blogblog.com/scribe/divider.gif") no-repeat top left; } .profile-datablock { margin:0 0 4px 0; } .profile-data { display:inline; margin:0; padding:0 8px 0 0; text-transform:uppercase; letter-spacing:.1em; font-size:90%; color:#211104; } .profile-img {display:inline;} .profile-img img { float:left; margin:0 8px 0 0; border:1px solid #A2907D; padding:2px; } .profile-textblock { font-family:Verdana, sans-serif;font-size:86%;margin:0;padding:0; } .profile-link { margin-top:5px; font-family:Verdana,sans-serif; font-size:86%; } /* Post photos ----------------------------------------------- */ img.post-photo { border:1px solid #A2907D; padding:4px; }

My template looks like this:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title><$BlogPageTitle$></title>

<$BlogMetaData$>

<style type="text/css">
/*
-----------------------------------------------------
Blogger Template Style Sheet
Name: Scribe
Designer: Todd Dominey
URL: domineydesign.com / whatdoiknow.org
Date: 27 Feb 2004
------------------------------------------------------ */

/* Defaults
----------------------------------------------- */
body {
margin:0;
padding:0;
font-family: Georgia, Times, Times New Roman, sans-serif;
font-size: small;
text-align:center;
color:#29303B;
line-height:1.3;
background:#483521 url("http://www.blogblog.com/scribe/bg.gif") repeat;
}

blockquote {
font-style:italic;
padding:0 32px;
line-height:1.6;
margin:0 0 .6em 0;
}

p {margin:0;padding:0};

abbr, acronym {
cursor:help;
font-style:normal;
}

code {font:12px monospace;white-space:normal;color:#666;}

hr {display:none;}

img {border:0;}

/* Link styles */
a:link {color:#660099;text-decoration:underline;}
a:visited {color:#716E6C;text-decoration:underline;}
a:hover {color:#956839;text-decoration:underline;}
a:active {color:#956839;}

/* Layout
----------------------------------------------- */
#wrap {
background-color:#473624;
border-left:1px solid #332A24;
border-right:1px solid #332A24;
width:700px;
margin:0 auto;
padding:8px;
text-align:center;
}
#main-top {
width:700px;
height:49px;
background:#FFF3DB url("http://www.blogblog.com/scribe/bg_paper_top.jpg") no-repeat top left;
margin:0;padding:0;
display:block;
}
#main-bot {
width:700px;
height:81px;
background:#FFF3DB url("http://www.blogblog.com/scribe/bg_paper_bot.jpg") no-repeat top left;
margin:0;padding:0;
display:block;
}
#main-content {
width:700px;
background:#FFF3DB url("http://www.blogblog.com/scribe/bg_paper_mid.jpg") repeat-y;
margin:0;
text-align:left;
display:block;
}
#inner-wrap {
padding:0 50px;
}
#blog-header {
margin-bottom:12px;
}
#blog-header h1 {
margin:0;
padding:0 0 6px 0;
font-size:225%;
font-weight:normal;
color:#612E00;
}
#blog-header h1 a:link {
text-decoration:none;
}
#blog-header h1 a:visited {
text-decoration:none;
}
#blog-header h1 a:hover {
border:0;
text-decoration:none;
}
#blog-header p {
margin:0;
padding:0;
font-style:italic;
font-size:94%;
line-height:1.5em;
}
div.clearer {
clear:left;
line-height:0;
height:10px;
margin-bottom:12px;
_margin-top:-4px; /* IE Windows target */
background:url("http://www.blogblog.com/scribe/divider.gif") no-repeat bottom left;
}
#main {
width:430px;
float:right;
padding:8px 0;
margin:0;
}
#sidebar {
width:150px;
float:left;
padding:8px 0;
margin:0;
}
#footer {
clear:both;
background:url("http://www.blogblog.com/scribe/divider.gif") no-repeat top left;
padding-top:10px;
_padding-top:6px; /* IE Windows target */
}
#footer p {
line-height:1.5em;
font-family:Verdana, sans-serif;
font-size:75%;
}

/* Typography :: Main entry
----------------------------------------------- */
h2.date-header {
font-weight:normal;
text-transform:uppercase;
letter-spacing:.1em;
font-size:90%;
color:#006600;
margin:0;
padding:0;
}
.post {
margin:8px 0 24px 0;
line-height:1.5em;
}
h3.post-title {
font-weight:normal;
font-size:140%;
color:#993333;
margin:0;
padding:0;
}
.post-body p {
margin:0 0 .6em 0;
}
.post-footer {
font-family:Verdana, sans-serif;
color:#211104;
font-size:74%;
border-top:1px solid #BFB186;
padding-top:6px;
}
.post ul {
margin:0;
padding:0;
}
.post li {
line-height:1.5em;
list-style:none;
background:url("http://www.blogblog.com/scribe/list_icon.gif") no-repeat 0px .3em;
vertical-align:top;
padding: 0 0 .6em 17px;
margin:0;
}

/* Typography :: Sidebar
----------------------------------------------- */
h2.sidebar-title {
font-weight:normal;
font-size:120%;
margin:0;
padding:0;
color:#211104;
}
h2.sidebar-title img {
margin-bottom:-4px;
}
#sidebar ul {
font-family:Verdana, sans-serif;
font-size:86%;
margin:6px 0 12px 0;
padding:0;
}
#sidebar ul li {
list-style: none;
padding-bottom:6px;
margin:0;
}
#sidebar p {
font-family:Verdana,sans-serif;
font-size:86%;
margin:0 0 .6em 0;
}

/* Comments
----------------------------------------------- */
#comments {}
#comments h4 {
font-weight:normal;<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title><$BlogPageTitle$></title>

<$BlogMetaData$>

<style type="text/css">
/*
-----------------------------------------------------
Blogger Template Style Sheet
Name: Scribe
Designer: Todd Dominey
URL: domineydesign.com / whatdoiknow.org
Date: 27 Feb 2004
------------------------------------------------------ */

/* Defaults
----------------------------------------------- */
body {
margin:0;
padding:0;
font-family: Georgia, Times, Times New Roman, sans-serif;
font-size: small;
text-align:center;
color:#29303B;
line-height:1.3;
background:#483521 url("http://www.blogblog.com/scribe/bg.gif") repeat;
}

blockquote {
font-style:italic;
padding:0 32px;
line-height:1.6;
margin:0 0 .6em 0;
}

p {margin:0;padding:0};

abbr, acronym {
cursor:help;
font-style:normal;
}

code {font:12px monospace;white-space:normal;color:#666;}

hr {display:none;}

img {border:0;}

/* Link styles */
a:link {color:#660099;text-decoration:underline;}
a:visited {color:#716E6C;text-decoration:underline;}
a:hover {color:#956839;text-decoration:underline;}
a:active {color:#956839;}

/* Layout
----------------------------------------------- */
#wrap {
background-color:#473624;
border-left:1px solid #332A24;
border-right:1px solid #332A24;
width:700px;
margin:0 auto;
padding:8px;
text-align:center;
}
#main-top {
width:700px;
height:49px;
background:#FFF3DB url("http://www.blogblog.com/scribe/bg_paper_top.jpg") no-repeat top left;
margin:0;padding:0;
display:block;
}
#main-bot {
width:700px;
height:81px;
background:#FFF3DB url("http://www.blogblog.com/scribe/bg_paper_bot.jpg") no-repeat top left;
margin:0;padding:0;
display:block;
}
#main-content {
width:700px;
background:#FFF3DB url("http://www.blogblog.com/scribe/bg_paper_mid.jpg") repeat-y;
margin:0;
text-align:left;
display:block;
}
#inner-wrap {
padding:0 50px;
}
#blog-header {
margin-bottom:12px;
}
#blog-header h1 {
margin:0;
padding:0 0 6px 0;
font-size:225%;
font-weight:normal;
color:#612E00;
}
#blog-header h1 a:link {
text-decoration:none;
}
#blog-header h1 a:visited {
text-decoration:none;
}
#blog-header h1 a:hover {
border:0;
text-decoration:none;
}
#blog-header p {
margin:0;
padding:0;
font-style:italic;
font-size:94%;
line-height:1.5em;
}
div.clearer {
clear:left;
line-height:0;
height:10px;
margin-bottom:12px;
_margin-top:-4px; /* IE Windows target */
background:url("http://www.blogblog.com/scribe/divider.gif") no-repeat bottom left;
}
#main {
width:430px;
float:right;
padding:8px 0;
margin:0;
}
#sidebar {
width:150px;
float:left;
padding:8px 0;
margin:0;
}
#footer {
clear:both;
background:url("http://www.blogblog.com/scribe/divider.gif") no-repeat top left;
padding-top:10px;
_padding-top:6px; /* IE Windows target */
}
#footer p {
line-height:1.5em;
font-family:Verdana, sans-serif;
font-size:75%;
}

/* Typography :: Main entry
----------------------------------------------- */
h2.date-header {
font-weight:normal;
text-transform:uppercase;
letter-spacing:.1em;
font-size:90%;
color:#006600;
margin:0;
padding:0;
}
.post {
margin:8px 0 24px 0;
line-height:1.5em;
}
h3.post-title {
font-weight:normal;
font-size:140%;
color:#993333;
margin:0;
padding:0;
}
.post-body p {
margin:0 0 .6em 0;
}
.post-footer {
font-family:Verdana, sans-serif;
color:#211104;
font-size:74%;
border-top:1px solid #BFB186;
padding-top:6px;
}
.post ul {
margin:0;
padding:0;
}
.post li {
line-height:1.5em;
list-style:none;
background:url("http://www.blogblog.com/scribe/list_icon.gif") no-repeat 0px .3em;
vertical-align:top;
padding: 0 0 .6em 17px;
margin:0;
}

/* Typography :: Sidebar
----------------------------------------------- */
h2.sidebar-title {
font-weight:normal;
font-size:120%;
margin:0;
padding:0;
color:#211104;
}
h2.sidebar-title img {
margin-bottom:-4px;
}
#sidebar ul {
font-family:Verdana, sans-serif;
font-size:86%;
margin:6px 0 12px 0;
padding:0;
}
#sidebar ul li {
list-style: none;
padding-bottom:6px;
margin:0;
}
#sidebar p {
font-family:Verdana,sans-serif;
font-size:86%;
margin:0 0 .6em 0;
}

/* Comments
----------------------------------------------- */
#comments {}
#comments h4 {
font-weight:normal;
font-size:120%;
color:#29303B;
margin:0;
padding:0;
}
#comments-block {
line-height:1.5em;
}
.comment-poster {
background:url("http://www.blogblog.com/scribe/list_icon.gif") no-repeat 2px .35em;
margin:.5em 0 0;
padding:0 0 0 20px;
font-weight:bold;
}
.comment-body {
margin:0;
padding:0 0 0 20px;
}
.comment-body p {
font-size:100%;
margin:0 0 .2em 0;
}
.comment-timestamp {
font-family:Verdana, sans-serif;
color:#29303B;
font-size:74%;
margin:0 0 10px;
padding:0 0 .75em 20px;
}
.comment-timestamp a:link {
color:#473624;
text-decoration:underline;
}
.comment-timestamp a:visited {
color:#716E6C;
text-decoration:underline;
}
.comment-timestamp a:hover {
color:#956839;
text-decoration:underline;
}
.comment-timestamp a:active {
color:#956839;
text-decoration:none;
}
.deleted-comment {
font-style:italic;
color:gray;
}


/* Profile
----------------------------------------------- */
#profile-container {
margin-top:12px;
padding-top:12px;
height:auto;
background:url("http://www.blogblog.com/scribe/divider.gif") no-repeat top left;

}
.profile-datablock {
margin:0 0 4px 0;
}
.profile-data {
display:inline;
margin:0;
padding:0 8px 0 0;
text-transform:uppercase;
letter-spacing:.1em;
font-size:90%;
color:#211104;
}
.profile-img {display:inline;}
.profile-img img {
float:left;
margin:0 8px 0 0;
border:1px solid #A2907D;
padding:2px;
}
.profile-textblock {
font-family:Verdana, sans-serif;font-size:86%;margin:0;padding:0;
}
.profile-link {
margin-top:5px;
font-family:Verdana,sans-serif;
font-size:86%;
}

/* Post photos
----------------------------------------------- */
img.post-photo {
border:1px solid #A2907D;
padding:4px;
}
</style>

</head>

<body>

<!-- Outer Dark Brown Container / Centers Content -->
<div id="wrap">

<!-- Top Paper Graphic -->
<div id="main-top"></div>

<!-- Main Content Area (This shows background image) -->
<div id="main-content">

<div id="inner-wrap">

<!-- Blog Header -->
<div id="blog-header">
<h1><ItemPage><a href="<$BlogURL$>"></ItemPage>
<$BlogTitle$>
<ItemPage></a></ItemPage></h1>
<p><$BlogDescription$></p>

</div>
<!-- End Blog Header -->

<!-- Begin #profile-container -->

<$BlogMemberProfile$>

<!-- End #profile -->

<!-- Spacer and horizontal rule -->
<div class="clearer"></div>
<!-- End .clearer -->


<!-- Begin #sidebar :: left column :: blog archives, links -->
<div id="sidebar">
<h2 class="sidebar-title">
<img src="http://blogblog.com/scribe/header_etcetera.gif"
alt="Etcetera" width="79" height="20" /><P>
</h2>

<I><FONT FACE="veranda"><li><a href="http://kebmillard.blogspot.com/2005/08/77+ Tidbits.html">77+ Its a Blog Thing</a></li></I></FONT><P>

<h2 class="sidebar-title">
<img src="http://www.blogblog.com/scribe/header_recentposts.gif" alt="Recent Posts" width="110" height="28" />
</h2>

<ul id="recently">
<BloggerPreviousItems>
<li><a href="<$BlogItemPermalinkURL$>"><$BlogPreviousItemTitle$></a></li>
</BloggerPreviousItems>
</ul>

<MainOrArchivePage>
<h2 class="sidebar-title">
<img src="http://www.blogblog.com/scribe/header_archives.gif" alt="Archives" width="84" height="22" />
</h2>

<ul class="archive-list">
<BloggerArchives>
<li><a href="<$BlogArchiveURL$>"><$BlogArchiveName$></a></li>
</BloggerArchives>
<ArchivePage><li><a href="<$BlogURL$>">Current Posts</a></li></ArchivePage>
</ul>
</MainOrArchivePage>

<h2 class="sidebar-title">
<img src="http://blogblog.com/scribe/header_blogroll.gif"
alt="Blogroll" width="84" height="27" />
</h2><P>

<P><a href="javascript:void(rollpop=window.open('http://www.blogrolling.com/add_links_pop.phtml?u=http://kebmillard.blogspot.com&t=What the...','rollit','scrollbars=no,width=475,height=350,left=75,top=175,status=yes,resizable=yes'));rollpop.focus();">Blogroll Me!</a><P>

<script language="javascript" type="text/javascript" src="http://rpc.blogrolling.com/display.php?r=5b543eb002eafc69c750d8de26f5a6d5"></script><P>

<P><script type="text/javascript" src="http://technorati.com/embed/k4naejhr9.js"> </script></P>

<p><a href="http://www.blogger.com/" title="Powered by Blogger"><img src="http://buttons.blogger.com/bloggerbutton1.gif" alt="Powered by Blogger" /></a></p>

<!-- Start of StatCounter Code -->
<script type="text/javascript" language="javascript">
var sc_project=920920;
var sc_invisible=0;
var sc_partition=7;
var sc_security="126bdb1b";
</script>

<script type="text/javascript" language="javascript" src="http://www.statcounter.com/counter/counter.js"></script><noscript><a href="http://www.statcounter.com/" target="_blank"><img src="http://c8.statcounter.com/counter.php?sc_project=920920&amp;java=0&amp;security=126bdb1b&amp;invisible=0" alt="php hit counter" border="0"></a> </noscript>
<!-- End of StatCounter Code -->
<!--
<p>This is a paragraph of text that could go in the sidebar.</p>
-->


</div>

<!-- Begin #main :: right column :: blog entry content -->
<div id="main">

<Blogger>

<BlogDateHeader>
<h2 class="date-header"><$BlogDateHeaderDate$></h2>
</BlogDateHeader>

<!-- Begin .post -->
<div class="post"><a name="<$BlogItemNumber$>"></a>

<BlogItemTitle>
<h3 class="post-title">
<BlogItemUrl><a href="<$BlogItemUrl$>" title="external link"></BlogItemUrl>
<$BlogItemTitle$>
<BlogItemUrl></a></BlogItemUrl>
</h3>
</BlogItemTitle>

<div class="post-body">

<p><$BlogItemBody$></p>

</div>

<p class="post-footer">posted by <$BlogItemAuthorNickname$> | <a href="<$BlogItemPermalinkUrl$>" title="permanent link"><$BlogItemDateTime$></a>
<MainOrArchivePage><BlogItemCommentsEnabled> |
<a class="comment-link" href="<$BlogItemCommentCreate$>"<$BlogItemCommentFormOnclick$>><$BlogItemCommentCount$> comments</a>
</BlogItemCommentsEnabled></MainOrArchivePage> <$BlogItemControl$> </p>

</div>
<!-- End .post -->

<!-- Begin #comments -->
<ItemPage>

<div id="comments">

<BlogItemCommentsEnabled><a name="comments"></a>

<h4><$BlogItemCommentCount$> Comments:</h4>

<dl id="comments-block">
<BlogItemComments>
<dt class="comment-poster" id="c<$BlogCommentNumber$>"><a name="c<$BlogCommentNumber$>"></a>
<$BlogCommentAuthor$> said...
</dt>
<dd class="comment-body">
<p><$BlogCommentBody$></p>
</dd>
<dd class="comment-timestamp"><a href="#c<$BlogCommentNumber$>" title="comment permalink"><$BlogCommentDateTime$></a>
<$BlogCommentDeleteIcon$>
</dd>
</BlogItemComments>
</dl>

<p class="comment-timestamp">
<$BlogItemCreate$>
</p>

</BlogItemCommentsEnabled>

<p class="comment-timestamp">
<a href="<$BlogURL$>"><< Home</a>
</p>
</div>

</ItemPage>
<!-- End #comments -->

</Blogger>
</div>


<!-- Begin #footer :: bottom area -->
<div id="footer">
<p>
<!-- Copyright &copy; 2005 Kebmillard (plus any additional footer info) -->&nbsp;
</p>
</div>

</div>

</div>
<!-- End #main-content -->


<!-- Bottom Paper Graphic -->
<div id="main-bot"></div>

</div>

</div> <!-- end #wrap -->

<!-- c(~) -->

<!--WEBBOT bot="HTMLMarkup" startspan ALT="Site Meter" -->
<script type="text/javascript" language="JavaScript">var site="s11gayfarmer"</script>
<script type="text/javascript" language="JavaScript1.2" src="http://s11.sitemeter.com/js/counter.js?site=s11gayfarmer">
</script>
<noscript>
<a href="http://s11.sitemeter.com/stats.asp?site=s11gayfarmer" target="_top">
<img src="http://s11.sitemeter.com/meter.asp?site=s11gayfarmer" alt="Site Meter" border="0"/></a>
</noscript>
<!--WEBBOT bot="HTMLMarkup" Endspan -->
</body>

</html>
font-size:120%;
color:#29303B;
margin:0;
padding:0;
}
#comments-block {
line-height:1.5em;
}
.comment-poster {
background:url("http://www.blogblog.com/scribe/list_icon.gif") no-repeat 2px .35em;
margin:.5em 0 0;
padding:0 0 0 20px;
font-weight:bold;
}
.comment-body {
margin:0;
padding:0 0 0 20px;
}
.comment-body p {
font-size:100%;
margin:0 0 .2em 0;
}
.comment-timestamp {
font-family:Verdana, sans-serif;
color:#29303B;
font-size:74%;
margin:0 0 10px;
padding:0 0 .75em 20px;
}
.comment-timestamp a:link {
color:#473624;
text-decoration:underline;
}
.comment-timestamp a:visited {
color:#716E6C;
text-decoration:underline;
}
.comment-timestamp a:hover {
color:#956839;
text-decoration:underline;
}
.comment-timestamp a:active {
color:#956839;
text-decoration:none;
}
.deleted-comment {
font-style:italic;
color:gray;
}


/* Profile
----------------------------------------------- */
#profile-container {
margin-top:12px;
padding-top:12px;
height:auto;
background:url("http://www.blogblog.com/scribe/divider.gif") no-repeat top left;

}
.profile-datablock {
margin:0 0 4px 0;
}
.profile-data {
display:inline;
margin:0;
padding:0 8px 0 0;
text-transform:uppercase;
letter-spacing:.1em;
font-size:90%;
color:#211104;
}
.profile-img {display:inline;}
.profile-img img {
float:left;
margin:0 8px 0 0;
border:1px solid #A2907D;
padding:2px;
}
.profile-textblock {
font-family:Verdana, sans-serif;font-size:86%;margin:0;padding:0;
}
.profile-link {
margin-top:5px;
font-family:Verdana,sans-serif;
font-size:86%;
}

/* Post photos
----------------------------------------------- */
img.post-photo {
border:1px solid #A2907D;
padding:4px;
}
</style>

</head>

<body>

<!-- Outer Dark Brown Container / Centers Content -->
<div id="wrap">

<!-- Top Paper Graphic -->
<div id="main-top"></div>

<!-- Main Content Area (This shows background image) -->
<div id="main-content">

<div id="inner-wrap">

<!-- Blog Header -->
<div id="blog-header">
<h1><ItemPage><a href="<$BlogURL$>"></ItemPage>
<$BlogTitle$>
<ItemPage></a></ItemPage></h1>
<p><$BlogDescription$></p>

</div>
<!-- End Blog Header -->

<!-- Begin #profile-container -->

<$BlogMemberProfile$>

<!-- End #profile -->

<!-- Spacer and horizontal rule -->
<div class="clearer"></div>
<!-- End .clearer -->


<!-- Begin #sidebar :: left column :: blog archives, links -->
<div id="sidebar">
<h2 class="sidebar-title">
<img src="http://blogblog.com/scribe/header_etcetera.gif"
alt="Etcetera" width="79" height="20" /><P>
</h2>

<I><FONT FACE="veranda"><li><a href="http://kebmillard.blogspot.com/2005/08/77-things.html">77 Items About Me - Its a Blog Thing</a></li></I></FONT><P>

<h2 class="sidebar-title">
<img src="http://www.blogblog.com/scribe/header_recentposts.gif" alt="Recent Posts" width="110" height="28" />
</h2>

<ul id="recently">
<BloggerPreviousItems>
<li><a href="<$BlogItemPermalinkURL$>"><$BlogPreviousItemTitle$></a></li>
</BloggerPreviousItems>
</ul>

<MainOrArchivePage>
<h2 class="sidebar-title">
<img src="http://www.blogblog.com/scribe/header_archives.gif" alt="Archives" width="84" height="22" />
</h2>

<ul class="archive-list">
<BloggerArchives>
<li><a href="<$BlogArchiveURL$>"><$BlogArchiveName$></a></li>
</BloggerArchives>
<ArchivePage><li><a href="<$BlogURL$>">Current Posts</a></li></ArchivePage>
</ul>
</MainOrArchivePage>

<h2 class="sidebar-title">
<img src="http://blogblog.com/scribe/header_blogroll.gif"
alt="Blogroll" width="84" height="27" />
</h2><P>

<P><a href="javascript:void(rollpop=window.open('http://www.blogrolling.com/add_links_pop.phtml?u=http://kebmillard.blogspot.com&t=What the...','rollit','scrollbars=no,width=475,height=350,left=75,top=175,status=yes,resizable=yes'));rollpop.focus();">Blogroll Me!</a><P>

<script language="javascript" type="text/javascript" src="http://rpc.blogrolling.com/display.php?r=5b543eb002eafc69c750d8de26f5a6d5"></script><P>

<P><script type="text/javascript" src="http://technorati.com/embed/k4naejhr9.js"> </script></P>

<p><a href="http://www.blogger.com/" title="Powered by Blogger"><img src="http://buttons.blogger.com/bloggerbutton1.gif" alt="Powered by Blogger" /></a></p>

<!--
<p>This is a paragraph of text that could go in the sidebar.</p>
-->


</div>

<!-- Begin #main :: right column :: blog entry content -->
<div id="main">

<Blogger>

<BlogDateHeader>
<h2 class="date-header"><$BlogDateHeaderDate$></h2>
</BlogDateHeader>

<!-- Begin .post -->
<div class="post"><a name="<$BlogItemNumber$>"></a>

<BlogItemTitle>
<h3 class="post-title">
<BlogItemUrl><a href="<$BlogItemUrl$>" title="external link"></BlogItemUrl>
<$BlogItemTitle$>
<BlogItemUrl></a></BlogItemUrl>
</h3>
</BlogItemTitle>

<div class="post-body">

<p><$BlogItemBody$></p>

</div>

<p class="post-footer">posted by <$BlogItemAuthorNickname$> | <a href="<$BlogItemPermalinkUrl$>" title="permanent link"><$BlogItemDateTime$></a>
<MainOrArchivePage><BlogItemCommentsEnabled> |
<a class="comment-link" href="<$BlogItemCommentCreate$>"<$BlogItemCommentFormOnclick$>><$BlogItemCommentCount$> comments</a>
</BlogItemCommentsEnabled></MainOrArchivePage> <$BlogItemControl$> </p>

</div>
<!-- End .post -->

<!-- Begin #comments -->
<ItemPage>

<div id="comments">

<BlogItemCommentsEnabled><a name="comments"></a>

<h4><$BlogItemCommentCount$> Comments:</h4>

<dl id="comments-block">
<BlogItemComments>
<dt class="comment-poster" id="c<$BlogCommentNumber$>"><a name="c<$BlogCommentNumber$>"></a>
<$BlogCommentAuthor$> said...
</dt>
<dd class="comment-body">
<p><$BlogCommentBody$></p>
</dd>
<dd class="comment-timestamp"><a href="#c<$BlogCommentNumber$>" title="comment permalink"><$BlogCommentDateTime$></a>
<$BlogCommentDeleteIcon$>
</dd>
</BlogItemComments>
</dl>

<p class="comment-timestamp">
<$BlogItemCreate$>
</p>

</BlogItemCommentsEnabled>

<p class="comment-timestamp">
<a href="<$BlogURL$>"><< Home</a>
</p>
</div>

</ItemPage>
<!-- End #comments -->

</Blogger>
</div>


<!-- Begin #footer :: bottom area -->
<div id="footer">
<p>
<!-- Copyright &copy; 2005 Kebmillard (plus any additional footer info) -->&nbsp;
</p>
</div>

</div>

</div>
<!-- End #main-content -->


<!-- Bottom Paper Graphic -->
<div id="main-bot"></div>

</div>

</div> <!-- end #wrap -->

<!-- c(~) -->

<!--WEBBOT bot="HTMLMarkup" startspan ALT="Site Meter" -->
<script type="text/javascript" language="JavaScript">var site="s11gayfarmer"</script>
<script type="text/javascript" language="JavaScript1.2" src="http://s11.sitemeter.com/js/counter.js?site=s11gayfarmer">
</script>
<noscript>
<a href="http://s11.sitemeter.com/stats.asp?site=s11gayfarmer" target="_top">
<img src="http://s11.sitemeter.com/meter.asp?site=s11gayfarmer" alt="Site Meter" border="0"/></a>
</noscript>
<!--WEBBOT bot="HTMLMarkup" Endspan -->
</body>

</html>

Any help is greatly appreciated. Thanks, Keb

25 Sep 22, 2005 18:45

Urm, check the code you posted , you have "most" of your page duplicated after your first </html> tag.

</html>
font-size:120%;
color:#29303B;
margin:0;
padding:0;
}
#comments-block {
line-height:1.5em;
}
.comment-poster {
background:url("http://www.blogblog.com/scribe/list_icon.gif") no-repeat 2px .35em;
margin:.5em 0 0;
padding:0 0 0 20px;
font-weight:bold;
}
.comment-body {
........ etc

¥

26 Sep 22, 2005 19:13

I posted directly from my template. Can you lay out for me which parts I need to get rid of? I don't know how this happened as I haven't added anything new lately.

27 Sep 22, 2005 19:31

Can you lay out for me which parts I need to get rid of?

urm, well, everything from your first </html> to the end from what I can see

¥

28 Sep 22, 2005 21:14

Wow, duh to me! Thanks for the extra set of eyeballs. I apparently needed them! javascript:emoticon('8|')
Shocked

29 Sep 22, 2005 21:55

we've all been there ...... still there sometimes ;)

¥


Form is loading...