Hi, I'm new in this forum, and I start with this interesting question:
- I added "Priority Field" in Links database.
I set
$LINKS{build_sort_order_search} = "Priority,Title,Description";
$LINKS{build_sort_order_category} = "Priority,Title";
I assigned on each link in the database priority "10" for all, and "0" for best.
When I "Build all", really links with lower priority come to the top of page in static pages;
But when I make search, the order of output is respected only inside the category where I make search, but global search is sorted by Alphabeth Order of categories. I tried also to get ride off from Categories suddivision, commenting $link_results .="<p>" . ..... in search.cgi but nothing better happend.
Hope someone can help me, if someone understand my fantastic english... :-)
- I added "Priority Field" in Links database.
I set
$LINKS{build_sort_order_search} = "Priority,Title,Description";
$LINKS{build_sort_order_category} = "Priority,Title";
I assigned on each link in the database priority "10" for all, and "0" for best.
When I "Build all", really links with lower priority come to the top of page in static pages;
But when I make search, the order of output is respected only inside the category where I make search, but global search is sorted by Alphabeth Order of categories. I tried also to get ride off from Categories suddivision, commenting $link_results .="<p>" . ..... in search.cgi but nothing better happend.
Hope someone can help me, if someone understand my fantastic english... :-)