How to run css based on role?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cwong92
    Junior Member
    • Mar 2019
    • 10

    How to run css based on role?

    Hi, i wanna use certain css code based on role, is this possible?
  • telecastg
    Active Community Member
    • Jun 2018
    • 907

    #2
    Hi,

    Not out of the box but you can do it using the free extension Dynamic Control for EspoCRM, check this tutorial and discussion https://forum.espocrm.com/forum/deve...gic-conditions

    The extension can be downloaded here: https://github.com/telecastg/dynamic...ol-for-espocrm

    Comment

    • cwong92
      Junior Member
      • Mar 2019
      • 10

      #3
      Hi, thank you so much for replying

      I followed your instruction and installed your free extension, but somehow im not sure whether it is working, maybe i made a mistake during installation
      is there a page to add the custom css or i should just add it in client/custom/css/custom.css with user attributes?

      Comment

      • cwong92
        Junior Member
        • Mar 2019
        • 10

        #4
        hi, never mind it works now, thank you so much

        Comment


        • telecastg
          telecastg commented
          Editing a comment
          You're welcome, glad that it worked. Please correspond by posting your code here as an example, so other participants can learn from it too.

        • cwong92
          cwong92 commented
          Editing a comment
          hi, i didnt do it myself, i hired someone from fiverr to do it
      Working...