To make email an optional field

  • bumble
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
11 months 2 weeks ago - 11 months 2 weeks ago #158012 by bumble
Replied by bumble on topic To make email an optional field
Oh it did not work.
Got this error on the form page as soon as I replaced the original file:
0
Class 'OSMembershipModelRegister' not found.

But when I added it to the override folder, all still works fine! :)
Last edit: 11 months 2 weeks ago by bumble.

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
11 months 2 weeks ago #158019 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic To make email an optional field
Replace is not right. You need to upload the file to components/com_osmembership/model/override folder (note the folder override in the path)

Tuan

Please Log in or Create an account to join the conversation.

  • bumble
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
11 months 1 week ago - 11 months 1 week ago #158088 by bumble
Replied by bumble on topic To make email an optional field
I have uploaded the file to the override folder and it still works fine. Thanks Tuan!
Last edit: 11 months 1 week ago by bumble.

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
11 months 1 week ago #158090 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic To make email an optional field
Great. Using override like that, it is safe to update to future releases of the extension without loosing the customization

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc