VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: hk on May 02, 2014, 18:30:37 PM

Title: Shopper information non editable
Post by: hk on May 02, 2014, 18:30:37 PM
Hi,

Once the user has registered, I want to disable the option of changing the username and email fields.
In the user edit page, under the Shopper Information page, I want only Displayed Name, Password and Confirm Password fields to be editable and other fields E-Mail and Username fields to be non editable (just display).

Can you please let me know how can we do this.

Thanks.
Title: Re: Shopper information non editable
Post by: hk on May 17, 2014, 09:14:38 AM
Any comments on this post please???
Title: Re: Shopper information non editable
Post by: jenkinhill on May 17, 2014, 13:04:35 PM
These are Joomla fields - so it is a Joomla question which is why nobody answered. You can set Change Login Name to off in Joomla's user manager but there is no system that I know of to prevent email change.
Ask on http://forum.joomla.org
Title: Re: Shopper information non editable
Post by: GJC Web Design on May 17, 2014, 13:13:08 PM
or you need to code something up that shows a different editaddress to logged in users with these fields read only
Title: Re: Shopper information non editable
Post by: hk on June 08, 2014, 13:23:43 PM
Quote from: jenkinhill on May 17, 2014, 13:04:35 PM
These are Joomla fields - so it is a Joomla question which is why nobody answered. You can set Change Login Name to off in Joomla's user manager but there is no system that I know of to prevent email change.
Ask on http://forum.joomla.org
I have a Menu Item of Type Users Manager » User Profile. If I go to that link in FE, it DO NOT allow me to edit Username.
I added a Menu Item of Type VirtueMart » Account Maintenance. If I go to that link in FE, it allows me to edit Username.

I think there is something to do with Virtuemart, not Joomla.