Jump to content

E-mail Brackets


Dedigeeks-Sean

Recommended Posts

Hello,

 

I am trying to use for example:

 

{$client_email_verification_link}

 

I want to enclose it in a enclosed kind of space as a common link, however, when you try and do this the link always becomes exaggerated to it's full length.

 

How exactly do I enclose {$client_email_verification_link} in to a standard URL so it can be seen as "Confirm Email Address" without showing the entire link?

Link to comment
Share on other sites

Hi Sean,

 

How exactly do I enclose {$client_email_verification_link} in to a standard URL so it can be seen as "Confirm Email Address" without showing the entire link?

as the email templates use Smarty, you should be able to tweak it using some Smarty code... e.g if you strip out the html tags, you'll just be left with the link URL - which you can then use in a normal href link, image, button etc :idea:

 

<a id="VerificationLink" href="{$client_email_verification_link|strip_tags:false}">Confirm Email Address</a>

btw - you might not need the id= part depending on your email css. :?:

 

it is important to note, in v7, that in order to use the strip_tags function in an email template, you'll need to add 'strip_tags' to your Smarty Security Policy.

Link to comment
Share on other sites

Thanks Brian,

 

This actually works, I've never been good with these types of things, editing e-mails for example and using smarty tags was never something I dove in to. Though, have to admit, it works, and I am super happy as I can now go over all my links now and make these changes, it is so handy because it looks cleaner and far more professional than the long winded link.

 

Hi Sean,

 

 

as the email templates use Smarty, you should be able to tweak it using some Smarty code... e.g is you strip out the html tags, you'll just be left with the link URL - which you can then use in a normal href link, image, button etc :idea:

 

<a id="VerificationLink" href="{$client_email_verification_link|strip_tags:false}">Confirm Email Address</a>

btw - you might not need the id= part depending on your email css. :?:

 

it is important to note, in v7, that in order to use the strip_tags function in an email template, you'll need to add 'strip_tags' to your Smarty Security Policy.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated