Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
In typical decorators, you see something like this:
#set ($mode = $params.get("mode"))
Can anyone tell me what type $mode is and what the possible values are? I've seen "edit" and "view", but is there a list of constants somewhere? Thanks!
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Try the documentation for the show-if macro by Customware as it offers a mode parameter as a criteria for showing content. One other mode is "template" for when a template is being previewed.
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.