Hello,
We are using a User Macro where someone can approve a specific page by mark the checkbox.
I would like to uncheck this checkbox if content or version has changed.
I cant find a suitable parameter.
Do you have some ideas?
Thank you
Without seeing the code of the user macro, it is hard to say.
You can get the version number of a page like this: $content.version
You would probably have to save this along with the checked status and if the $content.version variable is different than the saved version, then uncheck the checkbox.
Hi Stephen,
Thank you. Do you have any idea how to save $content.version and for example $NeedsApproval
The i guess i can do an if else loop.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.