Gossamer Forum
Home : Products : Links 2.0 : Customization :

Problem: Sort by ID

Quote Reply
Problem: Sort by ID
Hello all,

How to make the number arrange at category link:

Default:
1
11
2
12
3

To like this:
1
2
3
4

Please help and Thanks.


Quote Reply
Re: Problem: Sort by ID In reply to
Hello,

Any idea please ?

Quote Reply
Re: Problem: Sort by ID In reply to
Please Help,

No one try to help me with this ? Pleaseeeee...
Quote Reply
Re: Problem: Sort by ID In reply to
Opsssss, Found it..hehe

Just change at links.def:

# Field number to sort links by:
$db_sort_links = 1;

To:

# Field number to sort links by:
$db_sort_links = 0;

Sorry .. [wink]
Quote Reply
Re: [reenee] Problem: Sort by ID In reply to
When i make changes to the links.def file, it doesn't make any changes to the output files when i build. Is their something else i need to do to get it to sort via ID?
Quote Reply
Re: [amp3dmoshpit] Problem: Sort by ID In reply to
I'm having the same difficulty after making a change to the link.def file I increased the length available to the URL string (upped from 75 to 250).


I FTPed the updated file to where it had been and hit the "build all" link to see if that would make the change, but no joy.

I'm guessing that there is a simple solution to this since, after searching, I can't find the problem solved/answered.

Could someone throw a newb, aka me, a bone?

Last edited by:

Douglass: Oct 3, 2001, 4:51 PM
Quote Reply
Re: [Douglass] Problem: Sort by ID In reply to
Gah.

I had set up a test copy of Links 2.0 at a different location on the server -- that's where I was FTPing to and from. I'd then look for the changes to show up at the newer installation. Unsure

And here I thought there was some obvious "jiggle the handle" solution that I was overlooking.