Webmastersite.net
Register Log In

Display {LINKREALURL}
Display {LINKREALURL} rather than {LINKURL}in Link Details

Comments on Display {LINKREALURL}

tradenet
Forum Regular

Usergroup: Customer
Joined: Oct 14, 2004

Total Topics: 54
Total Comments: 127
Display {LINKREALURL}
Posted Dec 02, 2012 - 12:10 PM:

Display {LINKREALURL} (if exists) rather than {LINKURL}in Link Details

Something like <IF>{LINKREALURL}<ELSE>{LINKURL}</IF>
I am not getting the right syntax.

Any ideas?
Thx

OK update I think I got it now:
<IF {LINKREALURLBOOL}>{LINKREALURL}<OTHERWISE>{LINKURL}</IF>

Seems to work.
Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted Dec 04, 2012 - 5:29 AM:

The latter syntax is correct. Note that there's already a standard switch for handling affiliate URLs though if that's what you're doing.
tradenet
Forum Regular

Usergroup: Customer
Joined: Oct 14, 2004

Total Topics: 54
Total Comments: 127
Posted Dec 04, 2012 - 12:15 PM:

Paul wrote:
The latter syntax is correct. Note that there's already a standard switch for handling affiliate URLs though if that's what you're doing.


I am not sure how that handles the affiliate links? Is there another field that opens up? If I turn the switch on what should I see? or what does it suppose to do?
Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted Dec 08, 2012 - 10:26 PM:

When you turn the switch on the affiliate link field appears (assuming your submit/edit templates are up to date) and the regular url becomes the display url while the affiliate url field (when filled) becomes the destination url.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.