View Single Post
  #2  
Old 10-17-2006, 01:44 PM
  jasonroy's Avatar 
jasonroy jasonroy is offline
 

Senior Member
  
Join Date: Sep 2006
Location: Tualatin, Oregon
Posts: 147
 

Default Re: Users_Online module

well, I guess you can move this to completed mods or something cause I figured out what to do.

In File /skin1/rectangle_bottom.tpl find this code and Cut it out

Quote:
{if $active_modules.Users_online ne ""}
<tr>
<td>{include file="modules/Users_online/menu_users_online.tpl"}</td>
</tr>
{else}
<tr>
<td><img src="{$ImagesDir}/spacer.gif" class="Spc" alt="" /></td>
</tr>
{/if}

I then pasted the code I cut into /skin1/head_admin.tpl

find code

Quote:
{if $login ne ""}
<td align="right">{include file="authbox_top.tpl"}</td>
<td width="10"><img src="{$ImagesDir}/spacer.gif" width="10" height="1" alt="" /></td>
{/if}
</tr>

After that, add...

Quote:
{if $active_modules.Users_online ne ""}
<tr>
<td colspan="3">{include file="modules/Users_online/menu_users_online.tpl"}</td>
</tr>
{else}
<tr>
<td><img src="{$ImagesDir}/spacer.gif" class="Spc" alt="" /></td>
</tr>
{/if}

This is the same code that I cut out of rectangle_bottom.tpl, the only difference is that on the second line i added a colspan="3" to the td tag, in a 3 column design this makes the users online bar stretch the full width of the window.
__________________
rjroffroad.com
x-cart 4.1.3
+ez checkout
+remember anonymous carts
Reply With Quote