Gossamer Forum
Home : Products : Links 2.0 : Customization :

How can I add "&" in the catagory name

Quote Reply
How can I add "&" in the catagory name
I cannot find it anywhere, I would like to know if anyone can tell me how to add the "&" in a category name like "Business_&_Economy"
It's giving me "Name (Invalid format)" when I use the "&"

Thanks
Quote Reply
Re: How can I add "&" in the catagory name In reply to
Visit Gossameer-Threads resources;
Links 2 Non-english Modifications - Allows non english characters in the category name.
www.gossamer-threads.com/scripts/resources/Links/Modifications/Version_2.x/

Cheers


[This message has been edited by Spreester (edited May 15, 1999).]
Quote Reply
Re: How can I add "&" in the catagory name In reply to
Version: Links 2.0

1. Category.def

change
---------------------------------
Name => [1, 'alpha', 40, 75, 1, '', '^[\w\d/_-]+$'],
---------------------------------
to
---------------------------------
Name => [1, 'alpha', 40, 75, 1, '', '^[\w\d/_&-]+$'],
---------------------------------

2. Edit nph-build.cgi

change
---------------------------------
my $chrs = quotemeta ("/_-");
---------------------------------

to
---------------------------------
my $chrs = quotemeta ("/_&-");
---------------------------------


Sitedex
www.PremierStores.com