1 sanlouisfeng Oct 18, 2005 03:26
3 sanlouisfeng Oct 18, 2005 04:14
Thanks for your fast reply!
"account ID" it's login name!
How to make it out ??
4 personman Oct 18, 2005 05:03
You have a couple of options. If you just want to show the author name as plain text (no link), then add this to the _main.php file of your skin:
<?php $Item->Author->prefered_name(); ?>
Or you can make the author name be a link that leads to all posts on the blog by that author. Use this code for that:
<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>
5 the_drunken_dwarf Oct 25, 2005 19:37
Thanks for the information! I was wondering the exact same thing... figured it was some setting that I just missed.
About this code... is there a specific place that I have to insert it, or can it go anywhere in the _main.php file? I realize it's a pretty basic question, but I have absolutely no experience with any sort of coding, even the basic stuff like this.
6 the_drunken_dwarf Oct 26, 2005 17:46
I took a wild stab at it and just tossed the code in, and it works like a champ. Thanks!
What do you mean by 'Account ID'? Do you mean your login name?
If you want to change the order of the bloglist, read this thread:
http://forums.b2evolution.net//viewtopic.php?t=3765&highlight=bloglist+order