Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Contact_Email ?

Quote Reply
Contact_Email ?
I want to display the email-address of the link-owner
at link.html

I tried <%Contact_Email%> and <%Email%>
Both will be displayed as Unknown-Tag

Any Idea?

Michael

Quote Reply
Re: Contact_Email ? In reply to
<%Contact_Email%> is correct.

You may need it as a global to show on the template you want.

Paul Wilson.
http://www.wiredon.net
Quote Reply
Re: Contact_Email ? In reply to
To show the information of the LinkOwner, not the logged in user, you would have to have a custom tag to grab the email, or store contact_email in the link record. The preferred way would be to look up the record.

I hit this when working on the auction plug-in (which took a back seat to the image plug-in temporarily).

That's why we have the LinkOwner field, and you'd use that to look up the data.

It's quite possible there will be an option in the next few releases such that you can set "Look up Link Owner" to on or off as the default when processing a "link" record. You can always do that in a global tag, but it would be nice to be able to make it a default. You'll then get tags such as "User_Email" and "Owner_Email". These are features a dynamic site needs, that primarily static ones don't.

PUGDOGŪ Enterprises, Inc.
FAQ:http://LinkSQL.com/FAQ
Forum:http://LinkSQL.com/forum
Quote Reply
Re: Contact_Email ? In reply to
I added an extra-field to link-properties named Contact,
and an hidden input field at add.html whith name Contact and value <%Contact_Email%>

Should work

Michael



Quote Reply
Re: Contact_Email ? In reply to
>> I added an extra-field to link-properties named Contact,
>> and an hidden input field at add.html whith name Contact
>> and value <%Contact_Email%>

No. Not really.

<input type=hidden name="contact" value="<%Email%>">

Would insert the logged-in User's registered email into a field tag called "contact" which would then be inserted into the Link record
if you have a field called "contact".

Don't depend on Contact_Email and Contact_Name, as they are no longer
in the Links database, and _ONLY_ used for backwards compatibility.


PUGDOGŪ Enterprises, Inc.
FAQ:http://LinkSQL.com/FAQ
Forum:http://LinkSQL.com/forum
Quote Reply
Re: Contact_Email ? In reply to
Thanks pugdog, that you noticed it.
I changed to <%email%>

Michael