We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Decorator Example Needed | Forum

Topic location: Forum home » Support » General Questions
Guna
Guna Oct 21 '14
How decorator is working? Please provide an example
ross Team
ross Oct 21 '14
Please elaborate
Guna
Guna Oct 21 '14
For example in groups\views\components\invite_widget.html,


the below code


{decorator name='button' class='ow_ic_add' type='button' langLabel='groups+invite_btn_label' id='GROUPS_InviteLink'}


what is the meaning of decorator here? Please help

ross Team
ross Oct 21 '14
this is a smarty variable it is used in every theme, for example: ow_themes/origin/decorators/button.html