Disable Link When Chat is Disabled - ContactUs Widget
Hello! I'm trying to disable a link from my default widget that shows the chat availability of my instance. I saw that there is a widget attribute called "chat_link_always_displayed" and even changing its value, the link still appears. The link should appear only when my chat is available, when it is disabled should not show the link, it should only show the message. How do I make this change?
<div class="right-sidebar col-md-3"> <h2 class="titulo-1">Atendimento</h2> <h3><span class="icon_chat"></span>Chat</h3> <rn:widget path="utils/ContactUs" label_header="" channels="chat" chat_link_always_displayed=false /> <? $p = substr($_SERVER['SCRIPT_URL'], 0, 17)=="/app/ask_confirm/"?5:getUrlParm("p");