Webmastersite.net
Register Log In

email link with no URL

Comments on email link with no URL

babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Aug 10, 2006 - 6:06 AM:

If my "link" doesn't have a URL I would like people to be able to email the details page to a friend. So if the URL field is null then send the url of the details page by email.

Is this possible?
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Aug 10, 2006 - 7:15 AM:

Conditionals don't work in language items in 3.3/3.4, so you can't conditionalize it until 4.0.
babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Aug 10, 2006 - 7:44 AM:

Paul wrote:
Conditionals don't work in language items in 3.3/3.4, so you can't conditionalize it until 4.0.



Thanks Paul.
babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Sep 23, 2006 - 10:48 PM:

Paul wrote:
Conditionals don't work in language items in 3.3/3.4, so you can't conditionalize it until 4.0.


Hi Paul, I have upgraded to 4.0RC - can this now be done? If yes, please tell me how. Thanks.

Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Oct 01, 2006 - 9:03 PM:

In email_emaillinkbody,
<IF {LINKURL}> {LINKURL} <OTHERWISE> {LINKDETAILSURL} </IF>
babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Oct 01, 2006 - 10:18 PM:

Paul wrote:
In email_emaillinkbody,
<IF {LINKURL}> {LINKURL} <OTHERWISE> {LINKDETAILSURL} </IF>


Sorry Paul, I'm being thick here. Could you tell me EXACTLY where to put this please.

Doing a search for email_emaillinkbody comes up on with the email.php file - do I put it in that (although I can't believe you do)? if yes, any particular place? or if you mean a template, which template (please tell me actual name.tpl)?

thanks
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Oct 03, 2006 - 9:55 AM:

Click "edit outgoing emails" in your admin panel.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.