I write a small component to export data from a shop component, this is my first component, i get the error "Fatal error: Call to a member function getKeyName() on a non-object PATH\legacy\model\admin.php on line 885", i found some solution, but my problem is i don't wont new table, and my question is how can i avoid new sql table? Because i work with tables of already existing components and they are not edited with my component.
My sources:
http://forum.joomla.org/viewtopic.php?f=620&t=666986
http://stackoverflow.com/questions/21156707/fatal-error-call-to-a-member-function-getkeyname
http://stackoverflow.com/questions/12313272/error-call-to-a-member-function-getkeyname-component-for-joomla-2-5
I understand from this solution that i need a new table, but i don't need it...
JModelLegacy
? If its list or item I think it "assumes" there is a table attached.legacy/model/admin.php
? I'm guessing that is the save method, which then raises the question, how are you saving date if not to a table?!