Gossamer Forum
Home : Products : Links 2.0 : Customization :

sendlink Errors

Quote Reply
sendlink Errors
Eliot, im getting - Unkown Tag: sender on the error page of sendlink.

Followed instructions correctly, any hints on what i need to check?

Thanks.
Quote Reply
Re: sendlink Errors In reply to
OK -fixed it.

Added: sender => $fields{'sender'},

to sub site_html_sendlink_failure.

Quote Reply
Re: sendlink Errors In reply to
Glad you figured it out...I will fix that.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.
Quote Reply
Re: sendlink Errors In reply to
Eliot,
problems again with your script.

When the error page is displayed and the user fills in the details corectly the resulting email contains unkown tags:

Unkown Tag: Title
Unkown Tag: Name
UnkownTag: URL

but the comments display ok

Whats going on with this?

Quote Reply
Re: sendlink Errors In reply to
These have to be hidden fields as shown in the sendlink_error.html template file. It is NOT an error in the files I have provided, BUT an ERROR in you editing the files outside of the parameters of the Modification. Let's make that perfectly CLEAR.

Wink

If you want to print them, then you have to add the following codes in your sub site_sendlink_failure in the site_html_templates.pl:

Code:
URL => $fields{'URL'},
Name => $fields{'Name'},
Title => $fields{'Title'}


Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.
Quote Reply
Re: sendlink Errors In reply to
I'm not suggesting your script was at fault, in fact before i fiddled with the templates file, all worked well!

I have the system setup so a resource added is given the URL as /detailed/<%ID%>.html - no external urls.

So my question now is how do i tack http://mysight.com to the begining of $fields{'URL'} in your script without it giving errors?

I tried $fields{'http://mysight.com URL'} and hence the Tag not found stuff.
Quote Reply
Re: sendlink Errors In reply to
 
Code:
<%build_root_url%>/detailed/<%ID%>.html

For the detailed pages. The ID tag is defined in the site_html_templates.pl routines.

I hope this is what you are referring to. If not, you have to be more specific.

Regards,



------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.