Gossamer Forum
Home : Products : Gossamer Links : Discussions :

How to question: Place link on add_success.html template to modify the submitted record?

Quote Reply
How to question: Place link on add_success.html template to modify the submitted record?
Hi,
What can I use to put the LinkID on the add_success.html template so that I can place a hard link directly to modify the listing that was just added?

I tried: <a href="http://www.mydomain.com/modify.cgi?LinkID=<%LinkID%>">edit here</a>

But it produced
http://www.mydomain.com/modify.cgi?LinkID=Unknown Tag: 'LinkID'

I guess LinkID is either not a valid tag, or it can't be used on the on the add_success.html template?

Thanks for any help, suggestions and information.
Quote Reply
Re: [Westin] How to question: Place link on add_success.html template to modify the submitted record? In reply to
I think its <%ID%> you want.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Westin] How to question: Place link on add_success.html template to modify the submitted record? In reply to
Westin wrote:
Hi,
What can I use to put the LinkID on the add_success.html template so that I can place a hard link directly to modify the listing that was just added?
You probably also won't be able to modify the link until it has been validated?
Quote Reply
Re: [Alba] How to question: Place link on add_success.html template to modify the submitted record? In reply to
Thanks Andy, the <%ID%> was exactly it.

Alba, our GLinks auto validates so theres no need to wait before the user can modify their listing. And it has a cron job to do the Build Changed routine every 60 minutes.

Information for those folks that wish to kindly warn me about spammers....

If someone wants to go balistic and start listing trash, that's okay, because we get a notification of every record added and the only place in our records for them to go stupid would be in the description field which is sent in that email so we see if someone has gone mad on us. And if they want to bombard the system with bogus listings we simply turn off the cgi's so they can't add anymore.

Also should mention that we don't run a traditional links site so we don't accept links like what is found in the default links installation (or search engine type links system). So we don't get spammers trying to list their porn and other objectionably content and since we don't utilize the url field at all, they've got no where but the description field to enter a url so we'd have to see it in the notification of a new or modified record in our email.

Our last precaution is that we will prevent the additions of most of the common html code in any field in our system where the user would be able to add a text entry which I still have to have help to work out.

Thanks for the responses folks.