In Reply To:
What exactly is the top file however? Would I need to backup the top file in addition to the admin file when I'm doing backups?
Sorry, my fault, should have been more clear. In my parlance 'top file' is the index file at the top level of the directory, and/or any other files in that top level. You will need to move the add.cgi, edit.cgi, jump.cgi, rate.cgi, search.cgi, and subscribe.cgi files, as well as -=everything=- in the admin directory. You will also need to move over, or create, an empty directory for your pages. You do not need to bother with moving the contents of the pages directory or any of the subdirectories.
In Reply To:
# Then we print out the name linked, new if it's new, and popular if its popular.
$output .= qq|<dl><dt><font size="-2"><strong><a class="link" href="$url">$category_name</a></strong></font>
this also makes the subcategories smaller in the categories pages in explorer but larger in netscape. Any ideas?
Bluntly? This happens because the browser makers are b***heads, and love making the lives of web designers a sheer screaming-meemie heebie-jeebie fingernails-on-the-blackboard nightmare.
The small/medium/large/x-large values in the CSS font-size attribute look different on MSIE than on NN. Font size -1 looks different on MSIE than it does on NN - and different depending on the operating system (Windoze, Unix, Macintosh, what have you.) If you know how to use cascading style sheets, you're best off using those, and use point, pixel, or em values for the font sizes - since these are absolute, not relative, font sizes. In the short term, just live with it and tweak the sizes later on when you've got time to learn how to properly use CSS. It's a headache.
To learn how to use CSS, check out the W3C (http://www.w3c.org) or any of the other tutorials out there.
In Reply To:
Could you also tell me how to make my links and link description font smaller?
Change the site_html.pl file. You'll be looking for the subroutine that sets how a link appears (subroutine site_html_link). That's the one you'll want to change.
In Reply To:
Finally...How would I go about installing a second links2.0 directory on my site. Do I do just put the links2.0 cgi-bin and pages files into other directories on my server? Is there any thing i have to do to make sure that I avoid conflicts?
I've done this on my site. First thing you'll want to do is have different names for the directories - drop them down a level in the cgi-bin, and put the add/modify/search scripts at the top level. Don't forget to change the links.cfg files for each instance of Links2.0 to reflect your changes.
Your directory structure might look like:
Code:
cgi-bin/
links_add.cgi
links_modify.cgi
links_search.cgi
links_jump.cgi
links_rate.cgi
links_subscribe.cgi
links/
pages/
admin/
links2_add.cgi
links2_modify.cgi
links2_search.cgi
links2_jump.cgi
links2_rate.cgi
links2_subscribe.cgi
links2/
pages/
admin/
links3_add.cgi
links3_modify.cgi
links3_search.cgi
links3_jump.cgi
links3_rate.cgi
links3_subscribe.cgi
links3/
pages/
admin/
.
.
.
Rename the different links/links2/links3 files however you want, but make sure that the names match up in your links.cfg file - or things won't run. That should take care of any conflicts. I haven't had any problems with my setup, though I only have one version of the subscribe script (why have more than one mailing list if you don't have to?)
Just another reminder to double- and triple-check your different links.cfg files for each setup and make sure they point to the right files and directories - otherwise you'll drive yourself insane. That one's the real bugbear.
__________________________________________
Support and Recovery Internet Yellow Pages
serving Canada, the US, the UK, and the World Wide Web
http://recovery.tlm.com