How To Delete "downloads" And "compare List" From My Account V4?

[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 8)[/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}

  • {$user_info.firstname} {$user_info.lastname}


  • {else}

    {if $settings.General.use_email_as_login == 'Y'}

  • {$user_info.email}


  • {else}

  • {$user_info.user_login}


  • {/if}

    {/if}

  • {(“profile_details”)}


  • [color=#ff0000]{*
  • {(“downloads”)}
  • }[/color]

    {elseif $user_data.firstname || $user_data.lastname}

  • {$user_data.firstname} {$user_data.lastname}


  • {elseif $settings.General.use_email_as_login == 'Y' && $user_data.email}

  • {$user_data.email}


  • {elseif $settings.General.use_email_as_login != 'Y' && $user_data.user_login}

  • {$user_data.user_login}


  • {/if}

  • {__(“orders”)}


  • [color=#ff0000]{
    {assign var=“compared_products” value=“”|fn_get_comparison_products}[/color]

    [color=#ff0000]
  • {__(“view_compare_list”)}{if $compared_products} ({$compared_products|count}){/if}
  • *}[/color]

    {/hook}