Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2008-08-05 14:06:34

whocarez
Plugin Author
From: Germany/Ukraine
Registered: 2007-10-08
Posts: 305
Website GitHub Twitter

Re: [archived] jas_popular_articles: List Popular Articles

@Skoggy

Edit the plugin …
look for this line

$out[] = '<a href="http://' .$siteurl.'/?id='.$art.'">'.$rs2[0]['Title'].'</a> ('.$data['max'].') ';

and turn her in

$out[] = '<a href="http://' .$siteurl.'/?id='.$art.'">'.$rs2[0]['Title'].'</a>  ';

by removing

 ('.$data['max'].')

Offline

#17 2008-08-05 17:31:20

whocarez
Plugin Author
From: Germany/Ukraine
Registered: 2007-10-08
Posts: 305
Website GitHub Twitter

Re: [archived] jas_popular_articles: List Popular Articles

I compiled a version with the new optional parameter “stats” for statistics.
Get it here.

The source for compiling purposes is here.
Works for me in textpattern 4.06 with messy URLs ….

Last edited by whocarez (2008-08-05 19:12:45)

Offline

Board footer

Powered by FluxBB