Jump to content
Sign in to follow this  
DJkikisa

Kā uztaisīt, ka rāda (BIM43) Chatbox tāpat kā WAM.lv

Recommended Posts

1. Ejam uz acp un navigācijā izvēlamies otas ikoniņu b00deeedecbcbc36ad1d3878735a4878.png.
2. Izvēlamies kuru tēmu labot un uzspiežam uz ikonas: c126f15f4cb433fba5ac337493d2e551.png
3. Zem Templates izvēlamies bimchatbox>front>chat>main.
4. Izlabojam: 

{{if settings.chatbox_conf_ordertop == 1}}
			{template="chatform" app="bimchatbox" group="chat" params="$chat, $orientation"}
		{{endif}}			
		
		<div id='chatboxWrap' {{if settings.chatbox_conf_height}}style='height: {setting="chatbox_conf_height"}px !important;'{{endif}}>
			{{if settings.chatbox_conf_ordertop != 1}}
				<div id='loadMore' data-action='loadMore' class='ipsAreaBackground_light ipsPad_half ipsType_center ipsCursor_pointer'>{lang="cb_loadmore"}</div>
			{{endif}}
			
			<ul id='chatcontent' class="ipsDataList ipsDataList_reducedSpacing ipsLoading">
			
			</ul>
			
			{{if settings.chatbox_conf_ordertop == 1}}
				<div id='loadMore' data-action='loadMore' class='ipsAreaBackground_light ipsPad_half ipsType_center ipsCursor_pointer'>{lang="cb_loadmore"}</div>
			{{endif}}				
		</div>
		
		{{if settings.chatbox_conf_ordertop != 1}}
			{template="chatform" app="bimchatbox" group="chat" params="$chat, $orientation"}
		{{endif}}

Uz
 

{{if settings.chatbox_conf_ordertop == 0}}
			{template="chatform" app="bimchatbox" group="chat" params="$chat, $orientation"}
		{{endif}}			
		
		<div id='chatboxWrap' {{if settings.chatbox_conf_height}}style='height: {setting="chatbox_conf_height"}px !important;'{{endif}}>
			{{if settings.chatbox_conf_ordertop != 1}}
				<div id='loadMore' data-action='loadMore' class='ipsAreaBackground_light ipsPad_half ipsType_center ipsCursor_pointer'>{lang="cb_loadmore"}</div>
			{{endif}}
			
			<ul id='chatcontent' class="ipsDataList ipsDataList_reducedSpacing ipsLoading">
			
			</ul>
			
			{{if settings.chatbox_conf_ordertop == 0}}
				<div id='loadMore' data-action='loadMore' class='ipsAreaBackground_light ipsPad_half ipsType_center ipsCursor_pointer'>{lang="cb_loadmore"}</div>
			{{endif}}				
		</div>
		
		{{if settings.chatbox_conf_ordertop != 0}}
			{template="chatform" app="bimchatbox" group="chat" params="$chat, $orientation"}
		{{endif}}

Un saglabājam.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×