Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

Category names: can spaces be used?

Quote Reply
Category names: can spaces be used?
I am using Links 1.1.

I would like to include spaces in my category names (i.e., Arts and Entertainment) yet I get the ol' "invalid name" error.

I noticed on the "sample" site that spaces are used, but in the resulting path, the spaces are replaced with an underscore.

Is this possible with 1.1 or should I upgrade?

Directory is located at http://www.chicagochat.org/directory

Thanks!
m.


------------------
Matt Strattonmatt@mattstratton.com
[url]http://www.chicagochat.org[/url]
Quote Reply
Re: Category names: can spaces be used? In reply to
You don't need to upgrade. Just use underscores _ instead of spaces.

------------------
"Alex, Please add Me to the Installer's List!"
Quote Reply
Re: Category names: can spaces be used? In reply to
You use underscores for all category names instead of spaces. Whenever you want to display the category names without the underscores, you use $category_clean (non-templates) or <%category_clean%> (templates). That will display the category name with all the "/" and "_" removed.

I hope this helps.

------------------
Bob Connors
bobsie@orphanage.com
www.orphanage.com/goodstuff/
goodstufflists.home.ml.org/




[This message has been edited by Bobsie (edited February 13, 1999).]