Továbblépés a fő tartalomra

How can I show text on the Help Center only to a certain usergroup? - Tudásbázis / Using Deskpro / Admin / Help Center - Deskpro Support

How can I show text on the Help Center only to a certain usergroup?

Szerzők listája

Question:

How do I edit a portal template to show some text only to users who belong to a particular Usergroup?

 

Answer:

First, find the ID number of the Usergroup you wish to show the text to in Admin > CRM > Usergroups

Untitled.png
Now add this to the Help Center template where you want the message to appear:

{% if app.user.isMemberOfUsergroup(N) %}

Text to display

{% endif %}

replacing N with the ID of the usergroup, and putting the message you want in place of "Text to display".

 

See the admin guide for Editing Help Center Templates.

Hasznos Nem hasznos

Kérjük ebbe a mezőbe írja hozzászólását, majd kattintson a 'Hozzászólás beküldése' gombra...

Kérjük, jelentkezzen be vagy regisztráljon, ha megjegyzést szeretne hozzáfűzni.

Jelszó-emlékeztetőre van szüksége?