Announcement

Collapse
No announcement yet.

[EMAIL] variable in Business Setting T&C

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [EMAIL] variable in Business Setting T&C

    I want to make a mailto link in my terms and conditions using the [EMAIL] variable but am having trouble getting it to work. I'm doing:-

    !!< <a href="mailto:[EMAIL]">[EMAIL]</a> >!!

    This works fine if I hardcode the email adresss in but I'd rather use the [EMAIL] variable. I've tried various things but would appreciate some advice.

    Thanks

    #2
    Not at an Actinic system so I can't be sure this will help but try this:-

    !!< <a href="mailto:>!![EMAIL]!!<">>!![EMAIL]!!<</a> >!!

    This will move the [EMAIL] tags outside the HTML override and may work.

    Norman
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Thanks Norman

      The email is being addressed correctly now but the link text remains as [EMAIL] instead of its value - I can't see why because the 2nd [EMAIL] seems to be outside the html too.

      Any suggestions

      Comment


        #4
        Yes I see that too.

        Wierd isn't it, especially as there's another [EMAIL] further down that's expanded OK.

        In case the code was only looking for a single tag per line I tried putting the second [EMAIL] onto a new line and that didn't work either.

        If I can make it to work I'll report back.


        Ahah. Back again. Got it in time to edit this post.


        This works for me (but I don't know why).

        Code:
        ....please email us at !!<<a href=">!!mailto:[EMAIL]!!<">>!!    [EMAIL]!!<</a>>!!.
        It only works if I put at least 4 space characters before the last [EMAIL]. That's too wierd to be anything but a bug. Luckily these extra spaces are ignored on web-pages so everything looks OK.

        Norman
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment


          #5
          Thanks Norman - It works just fine now. Wierd about the 4 spaces

          Comment

          Working...
          X