Mango



Thread: Change Order of Link Lists?

Created on: 07/16/09 01:21 PM

New topic Reply    Page: 1  

Replies: 6
josh


josh's Gravatar
Joined: 07/01/09
Posts: 10

07/16/09 1:21 PM

Is there a way to change the order that the link lists appear in the sidebars?

http://blog.joshsager.com/

I would like to change the position of "Blog Writers" to be a bit higher up.
Link | Top | Bottom
Laura

Wizard
Laura's Gravatar
Joined: 01/29/05
Posts: 1523

07/21/09 12:38 AM

Hi Josh,
Unfortunately, no, they can't be ordered. But I just realized that they aren't being ordered by anything at all, not even in alphabetic order.
Link | Top | Bottom
josh


josh's Gravatar
Joined: 07/01/09
Posts: 10

07/21/09 12:38 PM

Any chance you can tell me where the query is that grabs the links so I can modify it? I added a sequence field in the db table but can't find the query code anywhere to do ordering.
Link | Top | Bottom
Laura

Wizard
Laura's Gravatar
Joined: 01/29/05
Posts: 1523

07/24/09 1:49 AM

The query is constructed in the plugin itself. It is a system plugin called Links. It is in the main Handler, in the function getCategories(). The only thing is that if the plugin is updated, the files may be overwritten during an automatic update.
Link | Top | Bottom
josh


josh's Gravatar
Joined: 07/01/09
Posts: 10

07/24/09 6:07 AM

Sorry, Laura, but this is really frustrating. I added the order by clause to myQueryString in that function but it's still not working. I used to fancy myself a CF programmer, but this is just frustrating.
Link | Top | Bottom
Laura

Wizard
Laura's Gravatar
Joined: 01/29/05
Posts: 1523

07/25/09 7:44 PM

Make sure you click Reload Config, it is probably cached.
Link | Top | Bottom
josh


josh's Gravatar
Joined: 07/01/09
Posts: 10

07/27/09 6:17 AM

That did it. Thanks, Laura!
Link | Top | Bottom

New Post

Please login to post a response.