Hiding parts of the KB portal from logged-IN (yes in) users

4 Kommentare

  • Gui-Berlin

    Sorry wrong place to post :/

    0
  • Jessie Schutz
    Zendesk team member

    No worries, I'll get it moved for you!

    0
  • Wes Drury

    @Gui - You can use something very similar like the code here to hide and show things based off user tags.  You would have to use JQuery/JavaScript in order to accomplish what you are trying to do but its possible just modify the code a little on the link I sent.

    0
  • Gui-Berlin

    Hi all,

    thank you for the quick answer :-)

    Ok... I am testing the process and want to hide a simple HTML element but without much success...

    It's probably the easiest thing on earth but I am stuck... could you tell me how to simply hide the classe based on the user organisation tag? 

    Thank you!

     

    if (HelpCenter.user.organizations == "Reseller") {

    $('.services-wrapper').hide();

    }

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.

Powered by Zendesk