Hello,
I installed CometChat and I want to add option to disable/enable it
I added a new profile field which appear in the options page
and i edited the codes in the header and footer to be like this
but it didn't work
anyone know what is the problem?
I installed CometChat and I want to add option to disable/enable it
I added a new profile field which appear in the options page
and i edited the codes in the header and footer to be like this
PHP:
<if condition="$post['field13']== 'Enable' ">
<link type="text/css" rel="stylesheet" media="all" href="/chat/css/cometchat.css" />
</if>
PHP:
<if condition="$post['field13']== 'Enable' ">
<script type="text/javascript" src="/chat/js/jquery.js"></script>
<script type="text/javascript" src="/chat/js/cometchat.js"></script>
</if>
but it didn't work
anyone know what is the problem?