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?
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.
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.
Comments on Display {LINKREALURL}
Forum Regular
Usergroup: Customer
Joined: Oct 14, 2004
Total Topics: 54
Total Comments: 127
Posted Dec 02, 2012 - 11:10 AM:
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.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
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.
Forum Regular
Usergroup: Customer
Joined: Oct 14, 2004
Total Topics: 54
Total Comments: 127
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?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
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.