Article Written By: Admin
The new Top Authors Block ready for ArticleMs 2.0. I used the old version adding also the Author's Picture and Author's Bio with the help of Dejavu .
If you want it on your site this is the step by step how to:
1) Into your admin create a new block called:andnbsp; topauthors and set up as universal
2) In the HTML part copy the code belowandnbsp;andnbsp;andnbsp;andnbsp;
andnbsp;
3) In the PHP part copy the code below:
| $this-andgt;authors = $this-andgt;getUsers('', 'user_article_count DESC', 10); |
andnbsp;
4) Copy this code where you want the block (normally in the sidebar)
{$Blocks-andgt;topauthors}
andnbsp;
That's it.
Now you can see the top authors into your site
Enjoy
Looking for a nice Template for your ArticleMs site?
This Article Has Been Published on Wed, 3 Dec 2008 and Read 3434 Times