Gossamer Forum
Home : Products : Links 2.0 : Discussions :

category name change

Quote Reply
category name change
I have installed links 2.0 and after 2 months of successful deloyment and entering close to 2000 links - I am disappointed to find that if I make a change to the category name - I need to re-connect all the links to the new name! This surprises me - as the program uses so many other sophisticated approaches.

Could someone please:
a) Confirm that this indeed is the way Links v2.0 is designed
b) Tell me if LinksSQL resolves this shortcoming

Thanks

Quote Reply
Re: category name change In reply to
No, Links 2.0 was not designed to automaticly update links. However, if you run "check categories" there is a method to fix this.

I'm not sure if Links SQL has this feature, but you can run statements like "update links set Category = 'Some/New/Category' where Category = 'Some/Old/Category'" from the SQL monitor for simple changes.

Happy coding,

--Drew
http://www.camelsoup.com
ftp://ftp.camelsoup.com
Quote Reply
Re: category name change In reply to
You could also download links.db, and then do a replace for each of the links that include the old category linking. This would be faster than doing it all via the admin panel in my opinion Wink

Example :

Code:
11|4Templates|http://www.templates.ws/templates/template001.zip|31-Mar-2001|Business_Templates||Doni|www@youradds.com|199|No|No|5.50|2|No|http://www.4templates.com/cgi-bin/link.cgi?id=youradds
So, if I was changing the category to New_Templates, then i would do a search for Business_Templates (the old category),Then use the replace function to replace all occurences of that to New_Templates. Its a bit more crude, but it is fast and easier if you want to remove the old category and move all of its links to the new category Smile

Hope that helps a bit!

Andy

webmaster@ace-installer.com
http://www.ace-installer.com