0
I need to add a field to the user's account for an EIN/SSN. I've added the fields to both the frontend account form and the admin account form. I've also added a field in the affiliate_tracker_accounts table. However, the information isn't saving for this new field. I'm guessing I still need to add something to either controller or model? Can you advise?
Responses (5)
  • Accepted Answer

    Saturday, May 27 2017, 10:12 AM - #Permalink
    0
    try adding it to the TABLE (in the /tables folder)
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, May 30 2017, 03:11 PM - #Permalink
    0
    And where is that? I see no tables folder in either components or administrator/components
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, June 01 2017, 10:07 AM - #Permalink
    0
    /administrator/components/com_affiliatetracker/tables/

    the folder HAS to be there, otherwise the extension would not work.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, June 01 2017, 02:58 PM - #Permalink
    0
    I found it. I added var $EIN = null; to class TableAccount extends JTable

    I setup a new test affiliate account but there was still no information in the EIN table in the admin side. I tried to manually input the EIN on the admin side and saved, but the field was blank upon return. I'm still missing something.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, June 01 2017, 05:31 PM - #Permalink
    0
    well, yes.. but I don't know what you're missing. Looks like all the steps you described are there, but it still doesn't work..

    Our Custom Coding Service can take a look at it for you.
    The reply is currently minimized Show
Your Reply