[color=#282828][font=arial, verdana, tahoma, sans-serif]someone know how can I do this in v4?¿ I tried deleting those code in my_account.tpl and + cc but doesn’t work.[/font][/color]
[color=#282828][font=arial, verdana, tahoma, sans-serif]some idea how to do it?[/font][/color]
[color=#282828][font=arial, verdana, tahoma, sans-serif]thanks [/font][/color]
[color=#282828][font=arial, verdana, tahoma, sans-serif][/font][/color]
up
You must have done something wrong when editing my_account.tpl as I've commented them out in mine and it works fine.
I think the “proper” way to do is to use the my_account_menu hook with my_changes.
Ideally you should use a hook but if you comment the below in my_account.tpl it should work (if not, maybe it's a caching issue - make sure you have the caching mode off):
{hook name=“profiles:my_account_menu”}
{if $auth.user_id}
{if $user_info.firstname || $user_info.lastname}
{else}
{if $settings.General.use_email_as_login == 'Y'}
{else}
{/if}
{/if}
[color=#ff0000]{*
{elseif $user_data.firstname || $user_data.lastname}
{elseif $settings.General.use_email_as_login == 'Y' && $user_data.email}
{elseif $settings.General.use_email_as_login != 'Y' && $user_data.user_login}
{/if}
[color=#ff0000]{ {assign var=“compared_products” value=“”|fn_get_comparison_products}[/color]
[color=#ff0000]
{/hook}