VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: naoko15 on March 21, 2013, 22:08:34 PM

Title: Templating user account
Post by: naoko15 on March 21, 2013, 22:08:34 PM
Hello, i'd like to know how to remove or hide the info about the shopper's permissions in VM's user account details. I've attached a picture so it's clearer.

Also, i need to know how the insert a small gap beneath the title ("Detalles de su cuenta").

I'm using J2.5 and VM 2.0.20b

THanks.
Title: Re: Templating user account
Post by: K&K media production on March 24, 2013, 13:21:59 PM
Use template overrides and delete or add what you want.

http://dev.virtuemart.net/projects/virtuemart/wiki/Hints_for_the_use_of_the_template_system
Title: Re: Templating user account
Post by: naoko15 on March 24, 2013, 16:53:21 PM
Thank you, i've almost got it to look how i want to.

I still don't know how to remove the shopper info (user id...etc) though, any tips?

Title: Re: Templating user account
Post by: K&K media production on March 24, 2013, 18:38:30 PM
You need a template override and then remove the infos in the view file.
Title: Re: Templating user account
Post by: naoko15 on March 25, 2013, 00:11:56 AM
Thanks but which is the view file where this info is in?
Title: Re: Templating user account
Post by: K&K media production on March 25, 2013, 03:07:37 AM
user -> edit_vmshopper.php

or if you like hide all fields

user -> edit_shopper.php and comment out line 32 "echo $this->loadTemplate('vmshopper');"
Title: Re: Templating user account
Post by: naoko15 on March 25, 2013, 09:32:56 AM
Thank you so much!! :)