Quote:
Originally Posted by yunitor1
It doesn't work. Perhaps I'm doing something wrong. Could you be so kind to indicate more specific what I have to change and in which template. I didn't understand about {*and*} and in file skin/common_files/modules/menu_users_online.tpl I didn't find which line I have to replace.
Will appreciate your assistance.
|
When you use {* and *} nothing that is between them gets executed. As I said, it would probably be better to modify skin/common_files/modules/menu_users_online.tpl like I did below...
At the beginning of the file, right before where it says...
<strong>{$lng.lbl_users_online}:</strong>
make it say...
{if $active_modules.Users_online ne "" and $usertype ne "C"}
<strong>{$lng.lbl_users_online}:</strong>
Then, at the end of the file right before the final </div>, add a {/if} so it looks like this...
{if not $smarty.foreach._users.last}, {/if}
</span>
{/foreach}
{/if} <<<<--- THIS IS WHERE TO ADD IT (but not this text)
</div>
{/if}
By changing this template instead of modifying content.tpl is will not show users online to customers even if you change skins later.