Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Detailed page as default URL?

Quote Reply
Detailed page as default URL?
I am using Links SQL as online directory of local businesses. Some of these businesses are small and/or part time and do not have a website.

I wanted to make the entry's detailed page their default page to accomodate this and avoid the 404 errors on the random page routine. BTW, this is all new to me, so please type slowly :-)

The following is the relavent code from the form.txt.

<tr><td align="right" valign="top">URL:</td>
<td>
<input name="URL" value="<%if URL%><%URL%><%endif%>" size="50">
</td></tr>

My thought was to change the input line to:

<input name="URL" value="<%build_detail_url%>/<%ID%>.html" size="50">

From what I understand, this same form is also used for both the modify and add routines.

Would it be better to save this as the add_form.txt and change the related tag and leave form.txt for modify, or is there a way to use the <%if Description%> tag and have one form.txt?
--
Rob Van Deren


Subject Author Views Date
Thread Detailed page as default URL? BeaverheadRiver 1915 May 20, 2001, 8:01 AM
Thread Re: Detailed page as default URL?
pugdog 1839 May 20, 2001, 9:55 AM
Post Re: Detailed page as default URL?
BeaverheadRiver 1812 May 21, 2001, 7:10 AM
Thread Re: [pugdog] Detailed page as default URL?
DogTags 1749 Oct 28, 2001, 5:58 AM
Thread Re: [DogTags] Detailed page as default URL?
pugdog 1752 Oct 28, 2001, 6:17 AM
Thread Re: [pugdog] Detailed page as default URL?
DogTags 1749 Oct 28, 2001, 7:50 AM
Thread Re: [DogTags] Detailed page as default URL?
DogTags 1743 Oct 28, 2001, 7:59 AM
Post Re: [DogTags] Detailed page as default URL?
DogTags 1733 Oct 28, 2001, 8:30 AM