You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to hide styling when chat is NOT available?

Received Response
30
Views
48
Comments
edited Jun 7, 2022 12:35PM in General Technical Discussions 48 comments

Content

So, I have added styling to chat conditional link and configured it to show only when someone is "online".

Issue: when nobody is online, the styling is still showing up even when everything is in conditional widget, why?

Any way to hide the styling when no one is online?

Please see the code attached

Version

Feb 2014 - CP3

Code Snippet

              <rn:condition config_check="MOD_CHAT_ENABLED == true">
					 <div style="background-color:orange;height:50px;width:200px;">
					 <li><rn:widget path="chat/ConditionalChatLink" min_sessions_avail="1" hide_on_unavailable="True" label_available_immediately_template="Chat is available"></li>      
					</div>					 
                    </rn:condition> 
        

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!