Recent Topics

1 Jun 15, 2009 15:20    

My b2evolution Version: 2.x

Is it possible to somehow display the blog title or description outside of a widget?

I have all the widgets in use but would like to display the name of the blog in another place on my template.

I tried using something like

<?php $Blog->disp( 'longdesc', 'htmlattr' ); ?>

but that didn't work.

2 Jun 15, 2009 15:23

echo $Blog->dget( 'shortname' );

¥

5 Jun 15, 2009 16:21

Well, once I got started. :) Would it also be possible to make the shortname as a link to the blogs main page?

6 Jun 15, 2009 16:23

echo '<a href="'.$Blog->gen_blogurl().'" title=" ohhhh, how cool! ">'.$Blog->dget( 'shortname' ).'</a>'."\n";

Free typed ... so make a backup of your server first :D

¥

7 Jun 15, 2009 16:24

*bows*

I also figured out the urlname but your solution is much prettier than the one I tried. ;)

Thanks again.

8 Jun 15, 2009 16:27

Any time ;)

¥

*edit*

Ohhh, yer my 53 hundredth post .... you should win a prize!!!! :D


Form is loading...