ok.. i know quite a few of you wanted these like 2 months ago.. i'm just gonna start releasing some of the script.. (ending with admin mod) that you guys wanted..
this one might be a little hard for some of you to install.. so please do search.cgi, category.cgi, site_html.pl or site_html_templates.pl
ok.. the category.cgi portion of this mod is intended for people with loopy's multiple category mod.. (i will release a regular version mod later when i feel like it..)
also.. before you do this.. remember that the sorting gets rid of the categories that are returned with the links.. ie:
category : that : this : link : is : in
link..
link..
but it still has the category results at the top of the first page..
hmm.. yea.. don't install category.cgi yet unless you have multiple category mod.. it might work though.. and it might mess things up.. just don't do it..
oh yea.. this version of category.cgi happens to store more subcategory information than needed cause that is the only way it will work with subcategories like yahoo.. (v2)
anyways.. the files are here:
jsu7785.hypermart.net/search.txt
jsu7785.hypermart.net/category.txt
ok.. put this in either site_html.pl or site_html_templates.pl depending on which you use..
jsu7785.hypermart.net/site_html.txt
here is an example of how i did the automatic "link" that when you click also had an image.. the images.. btw are ascend.gif and descend.gif.. you can get your own anywhere..
jsu7785.hypermart.net/usage.txt
you will have to change the properties in the subroutine added to site_html.pl where the images are:
AND
$sort_image = qq~<img src="$build_root_url/images/ascend.gif" width="14" height="7" border="0">~;
jerry
[This message has been edited by widgetz (edited April 15, 2000).]
this one might be a little hard for some of you to install.. so please do search.cgi, category.cgi, site_html.pl or site_html_templates.pl
ok.. the category.cgi portion of this mod is intended for people with loopy's multiple category mod.. (i will release a regular version mod later when i feel like it..)
also.. before you do this.. remember that the sorting gets rid of the categories that are returned with the links.. ie:
category : that : this : link : is : in
link..
link..
but it still has the category results at the top of the first page..
hmm.. yea.. don't install category.cgi yet unless you have multiple category mod.. it might work though.. and it might mess things up.. just don't do it..
oh yea.. this version of category.cgi happens to store more subcategory information than needed cause that is the only way it will work with subcategories like yahoo.. (v2)
anyways.. the files are here:
jsu7785.hypermart.net/search.txt
jsu7785.hypermart.net/category.txt
ok.. put this in either site_html.pl or site_html_templates.pl depending on which you use..
jsu7785.hypermart.net/site_html.txt
here is an example of how i did the automatic "link" that when you click also had an image.. the images.. btw are ascend.gif and descend.gif.. you can get your own anywhere..
jsu7785.hypermart.net/usage.txt
you will have to change the properties in the subroutine added to site_html.pl where the images are:
Code:
$sort_image = qq~<img src="$build_root_url/images/descend.gif" width="14" height="7" border="0">~ if ($in{'order'} eq "d"); AND
$sort_image = qq~<img src="$build_root_url/images/ascend.gif" width="14" height="7" border="0">~;
jerry
[This message has been edited by widgetz (edited April 15, 2000).]