1 co2_reduktion Oct 12, 2009 20:43
3 co2_reduktion Oct 13, 2009 14:49
Hi John,
thx alot, found it there.
Now I have a lot of blank lines under each Container:
http://freitagstefan.de/dokumentation/blogs/index.php/schule1/?blog=10
Does anybody find that lines in the remaining code:
<?php
/**
* This is the template that displays the item block
*
* This file is not meant to be called directly.
* It is meant to be called by an include in the main.page.php template (or other templates)
*
* b2evolution - {@link http://b2evolution.net/}
* Released under GNU GPL License - {@link http://b2evolution.net/about/license.html}
* @copyright (c)2003-2009 by Francois PLANQUE - {@link http://fplanque.net/}
*
* @package evoskins
*/
if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
global $Item;
// Default params:
$params = array_merge( array(
'feature_block' => false,
'content_mode' => 'auto', // 'auto' will auto select depending on $disp-detail
'item_class' => 'post',
'item_status_class' => 'bPost',
'image_size' => 'fit-400x320',
), $params );
?>
<div id="<?php $Item->anchor_id() ?>" class="<?php $Item->div_classes( $params ) ?>" lang="<?php $Item->lang() ?>">
<?php
$Item->locale_temp_switch(); // Temporarily switch to post locale (useful for multilingual blogs)
?>
<h3 class="bTitle"><?php $Item->title(); ?></h3>
<p></p>
<?php
// ---------------------- POST CONTENT INCLUDED HERE ----------------------
skin_include( '_item_content.inc.php', $params );
// Note: You can customize the default item feedback by copying the generic
// /skins/_item_feedback.inc.php file into the current skin folder.
// -------------------------- END OF POST CONTENT -------------------------
?>
<div class="post-footer">
<div class="bSmallHead">
<?php
// List all tags attached to this post:
$Item->tags( array(
'before' => T_('Tags').': ',
'after' => '',
'separator' => ', ',
) );
?>
<br />
<?php
// Permalink:
/*$Item->wordcount();
echo ' '.T_('words');*/
// echo ', ';
// $Item->views();
/*$Item->locale_flag( array(
'before' => ' ',
'after' => '',
) );*/
// Link to comments, trackbacks, etc.:
$Item->feedback_link( array(
'type' => 'comments',
'link_before' => '<img src="img/comment.gif" alt="" class="middle" />',
'link_after' => '',
'link_text_zero' => '#',
'link_text_one' => '#',
'link_text_more' => '#',
'link_title' => '#',
'use_popup' => false,
'class' => 'comments'
) );
// Link to comments, trackbacks, etc.:
$Item->feedback_link( array(
'type' => 'trackbacks',
'link_before' => ' • ',
'link_after' => '',
'link_text_zero' => '#',
'link_text_one' => '#',
'link_text_more' => '#',
'link_title' => '#',
'use_popup' => false,
) );
$Item->edit_link( array( // Link to backoffice for editing
'before' => ' • ',
'after' => '',
) );
?>
</div>
</div>
<?php
// ------------------ FEEDBACK (COMMENTS/TRACKBACKS) INCLUDED HERE ------------------
skin_include( '_item_feedback.inc.php', array(
'before_section_title' => '<h4>',
'after_section_title' => '</h4>',
) );
// Note: You can customize the default item feedback by copying the generic
// /skins/_item_feedback.inc.php file into the current skin folder.
// ---------------------- END OF FEEDBACK (COMMENTS/TRACKBACKS) ---------------------
?>
<?php
locale_restore_previous(); // Restore previous locale (Blog locale)
?>
</div>
<?php
?>
thx and greetings from germany
Co2
4 john Oct 13, 2009 21:23
If you want nothing at the bottom of your post/text then delete all or part of this from the code...
<div class="post-footer">
<div class="bSmallHead">
<?php
// List all tags attached to this post:
$Item->tags( array(
'before' => T_('Tags').': ',
'after' => '',
'separator' => ', ',
) );
?>
<br />
<?php
// Permalink:
/*$Item->wordcount();
echo ' '.T_('words');*/
// echo ', ';
// $Item->views();
/*$Item->locale_flag( array(
'before' => ' ',
'after' => '',
) );*/
// Link to comments, trackbacks, etc.:
$Item->feedback_link( array(
'type' => 'comments',
'link_before' => '<img src="img/comment.gif" alt="" class="middle" />',
'link_after' => '',
'link_text_zero' => '#',
'link_text_one' => '#',
'link_text_more' => '#',
'link_title' => '#',
'use_popup' => false,
'class' => 'comments'
) );
// Link to comments, trackbacks, etc.:
$Item->feedback_link( array(
'type' => 'trackbacks',
'link_before' => ' • ',
'link_after' => '',
'link_text_zero' => '#',
'link_text_one' => '#',
'link_text_more' => '#',
'link_title' => '#',
'use_popup' => false,
) );
$Item->edit_link( array( // Link to backoffice for editing
'before' => ' • ',
'after' => '',
) );
?>
</div>
</div>
5 co2_reduktion Oct 18, 2009 10:49
Hi John,
John wrote:
If you want nothing at the bottom of your post/text then delete all or part of this from the code...
that´s it :D
thx alot and greetings from germany!
Co2
6 john Oct 18, 2009 10:55
Cheers. :)
Look at file called _item_block.inc.php
especially this section...