Code Customization (override)

  • Sherry
  • Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 6 months ago #141499 by Sherry
Code Customization (override) was created by Sherry
Hi,
I have been trying to get the Code Customization (override) to work from this page  membershipprodoc.joomservices.com/develo...stomization-override but am unsure about how the empty class is placed. What I have tried does not work.

Does it get pasted first, and just the code changed or does all the code from the file get pasted. Can you show me an example of the php file code in a override file.

Thank you.

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

More
4 years 6 months ago #141500 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Code Customization (override)
Hello Sherry

Maybe you should send me the link to the current page which you want to make the change and tell us how you want to change it

We will look at it and give you instructions

Regards,

Tuan

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

  • Sherry
  • Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 6 months ago - 4 years 6 months ago #141507 by Sherry
Replied by Sherry on topic Code Customization (override)
 i Tuan,
It is not really a page I can show you, it goes back to the thread (Allow duplicate email address) on only one email for more than one member and using the extension allow duplicate email. I have got it working by commenting out and changing one line in validator.php and validationtrait.php and would really like to have the override work so I do not have to change the code everytime there is an update. I have sent you the 2 files, that currently work. I have set up override folder in Modal and Controls as per instructions but do not know how the blank class lines appear or even if these files can go in the override. What I have tried do not work.
Thanks for your time
Sherry

File Attachment:

File Name: phpfiles.zip
File Size:3.34 KB
H
Last edit: 4 years 6 months ago by Sherry.

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