Closed (fixed)
Project:
Blogroll
Version:
4.5.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
15 Mar 2005 at 21:45 UTC
Updated:
23 Sep 2009 at 14:19 UTC
change the way the blog roll is ordered so that the most frequently listed blogs are at the top of the page.
To do this, change the "order by cnt" to decending.
Change line 197 to:
$rolls = db_query_range('SELECT b.name, b.url, count(*) as cnt FROM {blogroll} b GROUP BY b.name, b.url ORDER BY cnt desc, b.name', 0, variable_get('blogroll_block_num', 5));
and
line 217 to:
$rolls = db_query('SELECT b.name, b.url, count(*) as cnt FROM {blogroll} b GROUP BY b.name, b.url ORDER BY cnt desc, b.name');
changing "order by cnt" to decending to all the most frequently listed blogs to be at the top of the page.
Comments
Comment #1
robbiethegeek commentedJust took over this module and closing issues that are over 2 years old that no longer apply this module was abandoned and is being restarted with a different focus.