Hi All, I need to pass a link url from a Kentico page (ver.6) to an external website form passing some parameter and a hash code adding a private string to secure it. Is possible to do it with Macros like that?
href="http://www.EXTERNALWEBSITE.XX/PAGE.php?UserID={%currentuser.UserID#%}&FullName={%currentuser.FullName#%}&Email={%currentuser.Email#%}&HashCode=MD5({%currentuser.UserID%}+{%currentuser.Wmail#%}+"PrivateString123")"
Thanks to everyone! Marco
Hello,
yes, it is possible. You need to create custom macro with string paramater which return MD5 hash.
Here's the documentation how to create macro method and here's the MD5 function
Thanks Dawid. It works!
Please, sign in to be able to submit a new answer.