Is there an EE2 tag that produces a unique ID? Or would I need to embed a PHP uniqid() call to get the desired unique ID? Thanks.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No, there is not a EE tag that does that. It would require that you created your own plugin, extension or module. But that pretty simple.
My suggestion is to create a plugin.
Create a folder named
guidin yourexpressionengine/third_partyfolder.In that folder, create a file called pi.guid.php with the following content:
There you go, your very own plugin to create uniqid() through tags.
The use?
Awesome, right?
I love EE…