Is there a way to manually generate an EE XID hash string in a template? Perhaps via PHP?
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
April 05, 2011 5:08pm
Subscribe [1]#1 / Apr 05, 2011 5:08pm
Is there a way to manually generate an EE XID hash string in a template? Perhaps via PHP?
#2 / Apr 06, 2011 12:13pm
Try adding
{XID_HASH}It’s a global variable that you can use. =)
#3 / Apr 06, 2011 1:24pm
ah, perfect. i couldn’t find that in the documentation.
#4 / Apr 06, 2011 1:28pm
Me neither, it used to be there. I’ll ask our docs people to fix that one on up.
Thanks james! Please start a new thread if you need more help. =)
#5 / Apr 06, 2011 1:30pm
Also, reported the docs bug. Closing this’un out. Thank you!