Hi!
Is there a solution where I can create my own conditional variables?
For example: I want to have a customized variable called {allowed_member_groups}
In the allowed_member_groups variable, I can declare the groups I want. I tried this with snippets but didn’t work.
The snippet content is
member_group==1 || member_group==10 ||member_group==8So it should be something like this:
{if allowed_member_groups}
Stand-alone-entry-form CONTENT
{if:else}
No access
{/if}My goal here is to let the specified groups to have access with the Stand-alone-entry-form ONLY.
I am not sure if this solution is the best. Maybe some of you have a brighter idea than this.
best regards,
Jay