Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

New - Cool -Title

Quote Reply
New - Cool -Title
Hello,

Why since several days on my links sql, in my directory link-sql, web sites is not order as my Links.pm:

-> isNew,isPopular,Title



Quote Reply
Re: New - Cool -Title In reply to
I have the news sites at the end on my page web (at the bottom). I use span_page (10 sites/pages)

Have you a idea of this problem ?
A bug ?



Quote Reply
Re: New - Cool -Title In reply to
Pascar,

Have you been changing any of your templates ? Are you using page.cgi ?

Also, can you give me the URL to your site so I can 'see' what the problem is you are referring to.


All the best
Shaun

Quote Reply
Re: New - Cool -Title In reply to
>Have you been changing any of your templates ?
no
>Are you using page.cgi ?
no

>Also, can you give me the URL to your site so I can 'see' >what the problem is you are referring to.

ok:
http://212.43.217.226/Images_et_graphisme/Gif_animes/

and:

http://212.43.217.226/Outils_pour_sites_web/Sponsors/Affiliation/

thanks
Quote Reply
Re: New - Cool -Title In reply to
Pascar,

It looks like your links are being sorted by Title first, then by New!

Check in your Links.pm file for:

# The default sort orders for links.

Underneath there are several options for sorting how links will be displayed, including one specifically for the category pages:

$LINKS{build_sort_order_category}

If you want New links first, make it ...

$LINKS{build_sort_order_category} = "isNew,Title";

If you already have this set to display new links first, try doing a Re-Build and afterwards, do a Re-Index and see if that makes a difference.

Does that help?

All the best
Shaun
Quote Reply
Re: New - Cool -Title In reply to
Shaun,

In my Links.pm, I have this:
It's good, but I have this sort problem with categories who have many pages.

# Turn on span mode. This will create new pages if a category has more
# then build_links_per_page links in it. It will break up the what's new listing
# into per day pages.
$LINKS{build_span_pages} = 1;
$LINKS{build_links_per_page} = 10;

# Number of columns to display a list of categories.
$LINKS{build_category_columns} = 2;

# The default sort orders for links.
$LINKS{build_sort_order_category} = "isNew,isPopular,Title";
$LINKS{build_sort_order_new} = "Add_Date,Title";
$LINKS{build_sort_order_cool} = "Title";
$LINKS{build_sort_order_search} = "isNew,isPopular,Title";


Sorry for my english :/

Quote Reply
Re: New - Cool -Title In reply to
Pascar,

Your Links.pm entries look OK.

I've been back to your site and had a look at a few of your category pages. Some ARE putting the 'New' entries first, and some are NOT? Also, it doesn't seem to matter whether the category spans pages or not, its working on some spanned categories and not on others.

Would it be possible for you to DELETE all of your category pages from your site and then do a site re-build so that Links re-creates all of your category pages again?

All the best
Shaun

Quote Reply
Re: New - Cool -Title In reply to
Are you using ALTCATEGORIES? If so, that is the source of the problem. The sorting for ALTCATEGORIES is buggy in the current version, v.1.13 and earlier versions. Gossamer Threads predicts that this issue will be resolved in the next generation of Links SQL.

Regards,

Eliot Lee

Quote Reply
Re: New - Cool -Title In reply to
OK, yes I use ALTCATEGORIES....
hum, i hope that this BUG will are fixed! in the futur version, because it's very a problem..

Thank you!