Highlight moderator name in CGFeedback results
Previous article Next articleAs the owner or moderator of a CMS Made Simple website using the CGFeedback module, you often reply to questions asked by visitors. But how to let the visitors see *you* are answering and not another person with your name...?
How to use
Open in the CGFeedback module your summary template and search for the line:
{$mod->Lang('lbl_author_name')}: {$one.author_name}
</div>
And change it to:
{if $one.author_name == '!Jack'}
{$mod->Lang('lbl_author_name')}: <span style="color: red;">Jack</span>
{else}
{$mod->Lang('lbl_author_name')}: {$one.author_name}
{/if}
</div>
When you reply and instead of your own name i.e. Jack you fill in !Jack, your name will be displayed in red. In the template you can change your display and "secret" name and change the styling or add an icon. Simple, but effective.
Working example
Look at the feedback below, I filled in *my* secret name and my name is displayed in red.
Comment Form
ReviewManager
ReviewManager
2 Comments
And this is a reply from the moderator Rolf.
See the difference ;o)
This is a reply from "just" a Rolf...