Recent Topics

1 Aug 06, 2005 23:46    

I need to display post like this.

	<p><b>:AUTHOR</b></p>
	<p><b>May-27-04_(POSTTITLE)</b></p>
	<div>THE POSTED BLOG
<br>
PERMANENTLINK-TIME-CATEGORY
	</div>

i get an error when i try to move the AUTHOR to the place i want it to be displayed... also the post dont repeat like that. could someone help me ut please? i need all the post to repeat in that format

2 Aug 07, 2005 15:56

First thing : you need to do the adjustments between :

<?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" 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 echo url_add_param( $Blog->get( 'blogurl', 'htmlattr' ), 'author='. $Item->Author->ID) ?>" title="<?php echo T_('Browse all posts by this author') ?>"><?php $Item->Author->prefered_name() ?></a></div>
                                <h3 class="bTitle"><?php $Item->issue_date(); ?> - <?php $Item->title(); ?></h3> 
		<div class="bText">
			<?php $Item->content(); ?>
			<?php link_pages() ?>
		</div>
		<div class="bSmallPrint">
		     <a href="<?php $Item->permalink() ?>" title="Permanent link to full entry"><img src="img/icon_minipost.gif" alt="Permalink" class="middle" /></a>&bull;
                                     <?php $Item->issue_time(); ?>	&bull;
                                     <?php echo T_('Category: '); $Item->categories(); ?>	
		     <?php $Item->feedback_link( 'comments' ) // Link to comments ?>
		</div>
		<?php // ------------- START OF INCLUDE FOR COMMENTS -------------
		$disp_comments = 1;					// Display the comments if requested
		$disp_comment_form = 1;			// Display the comments form if comments requested
		require( dirname(__FILE__).'/_feedback.php' );
			// ---------------- END OF INCLUDE FOR COMMENTS ----------------

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


Form is loading...