Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

Moving Links SQL To Another Directory

Quote Reply
Moving Links SQL To Another Directory
First off, I must say I don't really know what I'm doing and most of this is Greek to me. I want to move Links SQL to a different directory than where it was originally installed.

I have created the new directory and installed the files. However, when I try to use the add.cgi, modify.cgi, subscribe.cgi, search.cgi and user.cgi files I get information from the old directory. I suspect, I have failed to change something somewhere, but not sure what. I think I've searched all the files for a link to the old directory, but don't find one. Am I overlooking something and where would you suggest I look first the code that is generating the old information?

Also, is there a way to require a password for email subscribers?

Thank you.

KittyMother
Quote Reply
Re: [kittymother] Moving Links SQL To Another Directory In reply to
If you are using Links SQL v.1.X, then all you have to do is the following:

1) Edit all the links in the header.txt file and other template files in the admin/templates folder.

2) Edit the Links.pm file. Put in the new folders/directories where your pages should be built.

3) Re-build your directory via ADMIN.GGI.

4) Delete all your old directories and files,

About the password required for the newsletter/subscribers, you'd have to edit the subscribe.cgi script and your EMAIL template files in the admin/templates folder.

Hope this helps.
========================================
Buh Bye!

Cheers,
Me

Last edited by:

Stealth: May 12, 2002, 3:29 PM
Quote Reply
Re: [Stealth] Moving Links SQL To Another Directory In reply to
My header.txt file looks like this:

============================

<p><small class="menu">|

<a class="menulink" href="<%build_root_url%>">Home</a> |

<%if category_id%>

<a class="menulink" href="<%db_cgi_url%>/add.cgi?ID=<%category_id%>">Add a Resource</a> |

<a class="menulink" href="<%db_cgi_url%>/modify.cgi?ID=<%category_id%>">Modify a Resource</a> |

<%endif%>

<%ifnot category_id%>

<a class="menulink" href="<%db_cgi_url%>/add.cgi">Add a Resource</a> |

<a class="menulink" href="<%db_cgi_url%>/modify.cgi">Modify a Resource</a> |

<%endif%>

<a class="menulink" href="<%build_root_url%>/New">What's New</a> |

<a class="menulink" href="<%build_root_url%>/Cool">What's Cool</a> |

<a class="menulink" href="<%build_root_url%>/Ratings">Top Rated</a> |

<a class="menulink" href="<%db_cgi_url%>/subscribe.cgi">Email Updates</a> |

<a class="menulink" href="<%db_cgi_url%>/jump.cgi?ID=random">Random Link</a> |

<a class="menulink" href="<%db_cgi_url%>/search.cgi">Search</a> |

<%if Username%>

<%if Status eq 'Editor'%>

<a class="menulink" href="<%db_cgi_url%>/maintain.cgi">Editor</a> |

<%endif%>

<a class="menulink" href="<%db_cgi_url%>/user.cgi?logout=1">Logout</a> |

<%endif%>

<%ifnot Username%>

<a class="menulink" href="<%db_cgi_url%>/user.cgi">Login</a> |

<%endif%>

</small></p>

=========================

I'm not sure what I need to edit.

After I deleted the old files, I can't get into the admin area, so I think I have screwed something up big-time.

I'm going to try to start over and see what happens.

Thanks.

KittyMother
Quote Reply
Re: [Stealth] Moving Links SQL To Another Directory In reply to
I finally got it to work. Don't know what I was doing wrong, but after a lot of struggling it works.

Thanks for your help.

KittyMother
Quote Reply
Re: [kittymother] Moving Links SQL To Another Directory In reply to
Good. Glad you figured it out.

I thought my instructions were pretty clear. Could be wrong. ;)
========================================
Buh Bye!

Cheers,
Me