Loading...
 
Skip to main content

Features / Usability


You are viewing a reply to How to create 'top author' module?

Re: Re: How to create 'top author' module?

Hi Damian,

I haven't had much of a chance to muck around with this but I gather that the php side of things should look something like:

$ranking = $ranklib->wiki_ranking_top_authors($module_rows);

When it comes to assigning this to a smarty variable, can you use any variable name? Would the following work?

$smarty->assign('modTopAuthor',$ranking%22data%22);

If all of the above is OK (which I doubt), how do you get the results to display as a module? I've had a look at a couple of the tpl files but I'm not really sure how to proceed. Any advice would be extremely welcome 😊

Thanks,
ccm