![]() |
Re: Users on line field
Those are Smarty comments:
http://www.smarty.net/docsv2/en/language.basic.syntax.tpl#language.syntax.comments Used here to disable code. |
Re: Users on line field
Actually I understood that {*comment*} is NOT displayed in the final output of the template. I just didn't understand how is can help me in my case.
Thank you |
Re: Users on line field
Quote:
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. |
Re: Users on line field
In case of 4.4.x you should alter the "skin/common_files/bottom.tpl" template.
|
Re: Users on line field
It works!!! Thanks to everybody who participate to solve my case, specially for JWait.
Appreciate your assistance guys. |
Re: Users on line field
Followed this through from top to bottom, and still cannot get rid of Users online.
Using the basic skin/3 column layout. This is the skin/common_files/bottom.tpl What needs to be changed? Nothing affects the display on the storefront. This is driving me over the edge.. I've never had a problem getting rid of this before now. -------------------------------------------------------------------- <table width="100%" cellpadding="0" cellspacing="0"> {if $active_modules.Users_online ne "" or $login and $all_languages_cnt gt 1} <tr> <td> <table width="100%"> <tr> {if $active_modules.Users_online ne ""} <td class="users-online-box"> {include file="modules/Users_online/menu_users_online.tpl"} </td> {/if} ----------------------------------------- Could future releases of the cart have this turned OFF by default? I've yet to see anyone use this on a live site. |
Re: Users on line field
|
Re: Users on line field
I'm using vivid dream chromo and user online in this skin is hidden in other place. I spent a wile looking where it can be located for your skin but really couldn't find, it require more time. In my skin I spent about two days to find it. I suggest you open a new ticket on forum . Someone who use 3-columns skin can be more helpful.
|
Re: Users on line field
|
All times are GMT -8. The time now is 08:29 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.