Error in templates?
3 posters
Page 1 of 1
Error in templates?
Hey guys, I'm having some sort of a problem which I can't fix myself. I want to put the "members connected in the last 24 hours" part in the box on the right.
Here is the picture of how it looks right now:
The content on the left side is right where I want it to be - in the box, but I can't put the "members connected during last 24 hours" part in the box on the right.
Template code:
CSS:
http://ile-de-france.forumlt.com/
I don't understand what I should do in order to put the content right where I want it.
Thanks, sorry for my english. Merry Christmas.
Here is the picture of how it looks right now:
The content on the left side is right where I want it to be - in the box, but I can't put the "members connected during last 24 hours" part in the box on the right.
Template code:
- Code:
<!-- BEGIN disable_viewonline -->
<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<th colspan="2"><div class="grupes"><a style="color:#692424" href="http://ile-de-france.forumlt.com/g3-royaute">Royauté</a> <a style="color:#663D3D" href="http://ile-de-france.forumlt.com/g4-noblesse">Noblesse</a> <a style="color:#526982" href="http://ile-de-france.forumlt.com/g5-villageois">Villageois</a> <a style="color:#40522B" href="http://ile-de-france.forumlt.com/g6-soldats">Soldats</a> <a style="color:#6F6680" href="http://ile-de-france.forumlt.com/g7-domestiques">Domestiques</a> <a style="color:#334D52" href="http://ile-de-france.forumlt.com/g9-pretre">Prêtre</a> <a style="color:#525252" href="http://ile-de-france.forumlt.com/g8-reprouve">Réprouvé</a></div></th>
</tr>
<tr>
<td><center><div class="reg">{TOTAL_POSTS}. {TOTAL_USERS}. {NEWEST_USER}. {LOGGED_IN_USER_LIST}</div></center></td>
<td><center><div class="reg">{L_CONNECTED_MEMBERS}</div></center></td>
</tr>
<!-- BEGIN switch_chatbox_activate -->
<tr>
<td class="row1">
<span class="gensmall">{TOTAL_CHATTERS_ONLINE} : {CHATTERS_LIST}<br />
<!-- BEGIN switch_chatbox_popup -->
<div id="chatbox_popup"></div>
<script type="text/javascript">
//<![CDATA[
insertChatBoxPopup('{disable_viewonline.switch_chatbox_activate.switch_chatbox_popup.U_FRAME_CHATBOX}', '{L_CLICK_TO_JOIN_CHAT}');
//]]>
</script>
<!-- END switch_chatbox_popup -->
</span>
</td>
</tr>
<!-- END switch_chatbox_activate -->
</table>
<!-- END disable_viewonline -->
CSS:
- Code:
.reg {
width:280px;
border: solid 15px #000;
padding: 10px;
background-color:#050505;
color:#3d3d3d;
font-family:arial;
line-height:130%;
font-size:9px;
text-align:justify;
}
http://ile-de-france.forumlt.com/
I don't understand what I should do in order to put the content right where I want it.
Thanks, sorry for my english. Merry Christmas.
Last edited by Julija on December 25th 2014, 10:13 pm; edited 1 time in total
Julija- Forumember
- Posts : 48
Reputation : 0
Language : english
Re: Error in templates?
replace
with
- Code:
<td><center><div class="reg">{L_CONNECTED_MEMBERS}</div></center></td>
with
- Code:
<td><center><div class="reg">{TOTAL_CHATTERS_ONLINE} : {CHATTERS_LIST}</div></center></td>
Re: Error in templates?
Hmm it doesn't work. The chatbox is disabled, but I didn't delete the code from the template.
Any more ideas?
Any more ideas?
Julija- Forumember
- Posts : 48
Reputation : 0
Language : english
Re: Error in templates?
ok the element create its own tr element so we have to use script to move it
template
css
javascript
acp>modules>javascript managment>
turn on javascript if you havent already
create a new script
title:whatever
placement: homepage
code
template
- Code:
<!-- BEGIN disable_viewonline -->
<table class="onlinestuff" width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<th colspan="2"><div class="grupes"><a style="color:#692424" href="http://ile-de-france.forumlt.com/g3-royaute">Royauté</a> <a style="color:#663D3D" href="http://ile-de-france.forumlt.com/g4-noblesse">Noblesse</a> <a style="color:#526982" href="http://ile-de-france.forumlt.com/g5-villageois">Villageois</a> <a style="color:#40522B" href="http://ile-de-france.forumlt.com/g6-soldats">Soldats</a> <a style="color:#6F6680" href="http://ile-de-france.forumlt.com/g7-domestiques">Domestiques</a> <a style="color:#334D52" href="http://ile-de-france.forumlt.com/g9-pretre">Prêtre</a> <a style="color:#525252" href="http://ile-de-france.forumlt.com/g8-reprouve">Réprouvé</a></div></th>
</tr>
<tr>
<td><center><div class="reg">{TOTAL_POSTS}. {TOTAL_USERS}. {NEWEST_USER}. {LOGGED_IN_USER_LIST}</div></center></td>
<td><center><div class="reg2">{L_CONNECTED_MEMBERS}</div></center></td>
</tr>
<!-- BEGIN switch_chatbox_activate -->
<tr>
<td class="row1">
<span class="gensmall">{TOTAL_CHATTERS_ONLINE} : {CHATTERS_LIST}<br />
<!-- BEGIN switch_chatbox_popup -->
<div id="chatbox_popup"></div>
<script type="text/javascript">
//<![CDATA[
insertChatBoxPopup('{disable_viewonline.switch_chatbox_activate.switch_chatbox_popup.U_FRAME_CHATBOX}', '{L_CLICK_TO_JOIN_CHAT}');
//]]>
</script>
<!-- END switch_chatbox_popup -->
</span>
</td>
</tr>
<!-- END switch_chatbox_activate -->
</table>
<!-- END disable_viewonline -->
css
- Code:
.reg{
width:280px;
border: solid 15px #000;
padding: 10px;
background-color:#050505;
color:#3d3d3d;
font-family:arial;
line-height:130%;
font-size:9px;
text-align:justify;
}
.reg2 {
width:280px;
border: solid 15px #000;
padding: 10px;
background-color:#050505;
color:#3d3d3d;
font-family:arial;
line-height:130%;
font-size:9px;
}
javascript
acp>modules>javascript managment>
turn on javascript if you havent already
create a new script
title:whatever
placement: homepage
code
- Code:
$(function(){
$('.onlinestuff tr:nth-child(3) span').detach().appendTo('.onlinestuff .reg2');
});
Re: Error in templates?
Thank you so much!
Julija- Forumember
- Posts : 48
Reputation : 0
Language : english
Similar topics
» Registration error: A browser error occured [Error #230], please contact the technical support.
» Templates
» "General Error" - "Error in Posting"
» Using variables in templates?
» [ONLY TOPIC] Roundcube webmail does not work
» Templates
» "General Error" - "Error in Posting"
» Using variables in templates?
» [ONLY TOPIC] Roundcube webmail does not work
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum