Recent Topics

1 Sep 29, 2007 10:20    

My b2evolution Version: 1.10.x

Hi,

i'd like to edit the last comments page to show the BLOGname after the 'last comments' heading.
Last comments on BLOG A

is this possible?

thanks in advance,
cheers,
SeanT

2 Sep 29, 2007 23:37

Hi SeanT,

First you need to find out what the name is of your skin. If you got that, crack open ../blogs/skins/YOURSKIN/_main.php and find this line -it's situated somewhere in the middle of the file after the
<!==== START OF SIDEBAR ===->
sign, but this could be different in various skins- anyway look for this line:

<li><a href="<?php $Blog->disp( 'lastcommentsurl', 'raw' ) ?>">
<strong><?php echo T_('Last comments') ?></strong></a></li>


and change it to:

<li><a href="<?php $Blog->disp( 'lastcommentsurl', 'raw' ) ?>">
<strong><?php echo 'Last comments on '; 
$Blog->disp( 'name', 'htmlbody' )  ?></strong></a></li>

Good luck

3 Sep 29, 2007 23:50

As a bonus:

You may want to change:

$Blog->disp( 'name', 'htmlbody' )


in

$Blog->disp( 'shortname', 'htmlbody' )

Good luck

4 Oct 01, 2007 10:50

shortname was exactly, precisely what i was after. Thank you for your help.
cheers,
ST


Form is loading...