Gobb
Member
Hi there!
In XF 1 we simply had Datawriters and the setExistingData facility which enabled you to very easily update an existing row in the database. I've looked through the documentation and the files but for the life of me cannot find how this is done? It seems to be done via formAction and then basicEntitySave, but I'm not having much luck in an addon's controller.
I can easily get the update to work extending the Account public controller save, for example. But if I'm not extending a controller and it's an addon's controller, I don't understand how I'm meant to be able to update a value in the xf_user table, for example?
Any insight will be much appreciated,
Thanks.
In XF 1 we simply had Datawriters and the setExistingData facility which enabled you to very easily update an existing row in the database. I've looked through the documentation and the files but for the life of me cannot find how this is done? It seems to be done via formAction and then basicEntitySave, but I'm not having much luck in an addon's controller.
I can easily get the update to work extending the Account public controller save, for example. But if I'm not extending a controller and it's an addon's controller, I don't understand how I'm meant to be able to update a value in the xf_user table, for example?
Any insight will be much appreciated,
Thanks.