Recent Topics

1 Oct 19, 2006 05:03    

Is there a way to remove the "number of views" stat that appears for each post?

Similalrly, any idea how to remove/hide the number of words?

Cheers

2 Oct 19, 2006 08:57

the answer is 'just remove that bit of code in the _main.php'

To do that, you have to open the file _main.php in the skin you have choosen in a texteditor like notepad of dreamweaver or ...

if you use the skin 'custom' look for this code

<?php
	$Item->permanent_link( '#icon#' );
	echo ' ';
	$Item->issue_time();
	echo ', by ';
	// Load Item's creator User:
	$Item->author();
	$Item->msgform_link( $Blog->get('msgformurl') );
	echo ', ';
	$Item->wordcount();
	echo ' ', T_('words');
	echo ', ';
	$Item->views();
	echo ' &nbsp; ';
	locale_flag( $Item->locale, 'h10px' );
	echo '<br /> ', T_('Categories'), ': ';
	$Item->categories();
?>

Remove the parts you don't want or change this block with the pieces you want from hereunder :

This one will show an icon for the permalink

<?php  $Item->permanent_link( '#icon#' ); ?>


This one will show the time that the article is created

<?php $Item->issue_time(); ?>


This one will show the name of the author and a mailform to mail to the author. The mailform is so people can mail the person, without knowing the emailadress.

<?php $Item->author(); $Item->msgform_link( $Blog->get('msgformurl') ); ?>


This one will show the wordcount :

<?php $Item->wordcount(); echo ' ', T_('words'); ?>


This one is to show how many times this article has been viewed in single mode

<?php $Item->views(); ?>


This one shows the flag of the language

<?php locale_flag( $Item->locale, 'h10px' ); ?>


This one will show the categories this articles has been posted in

<?php echo'', T_('Categories'), ': '; $Item->categories(); ?>

3 Oct 19, 2006 09:31

Thank you very much!


Form is loading...