Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Renaming Categories

Quote Reply
Renaming Categories
Hi all,

Is there an easy way to rename categories, and all links which refer to that category change, or rename a category and display something else.



Regards

MDJ1
http://www.isee-multimedia.co.uk
Quote Reply
Re: Renaming Categories In reply to
Hello, Mark.

This has been discussed a few times in the Links 2.0 Customization Forum.

The best advise I have for you is the following:

1) Download your links.db file from the backup directory.

2) Use a text editor (preferably TEXT PAD) or even a database program like Access to edit the CATEGORY field. Basically, you should do a GLOBAL FIND/REPLACE of the OLD CATEGORY names and REPLACE them with the new CATEGORY names.

3) Then edit the category names via the admin.cgi script or follow the above steps for the categories.db file.

4) Then upload the edited database files to your server.

The more complicated and less reliable solution is to do the following:

1) Rename the CATEGORIES.
2) Then go into the Check Cat option. Then edit each individual link individually to point to the new category.

I believe oldmoney (an old Links 2.0 user) had this problem and similar suggestions were provided to him in the Links 2.0 Customization Forum.

Good luck!

Regards,

Eliot Lee
Quote Reply
Re: Renaming Categories In reply to
Thanks Eliot,

This is a big pitfal for links, is it easier to do in SQL.



Regards

MDJ1
http://www.isee-multimedia.co.uk
Quote Reply
Re: Renaming Categories In reply to
There are many pitfalls with LINKS 2.0 or any other flat file database driven application...that is why I have left flat files forever...I am about 90% completed with upgrading all my apps to MySQL.

Regards,

Eliot Lee