We would like to either suppress the Post a Question button or redirect it to the Case Portal page (/t5/crmsupport/page) if a user has a certain role. Khoros previously developed a custom component ...
Payal thank you so much for your reply! The code you provided did work in terms of redirecting the Post a Question button, but it also triggered an error message. I added the red box for emphasis, FYI.
I inspected the element and the error message says div.lia-widget-not-found