Timeline for Component view problem. Model method not called
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 13, 2017 at 12:01 | comment | added | RichardB | Yes, but you'll need to tell your other views which model to use, as per the answer above. There may be better ways (I'm wondering if a simple second model that just inherits the other one may be a tidier approach), but I tend to use JModelLegacy::getInstance to get access to a different model's functions if I need to do that. | |
Oct 13, 2017 at 11:49 | comment | added | VTodorov | So is it possible to have multiple views in a component with a single model? | |
Oct 12, 2017 at 16:40 | vote | accept | VTodorov | ||
Oct 12, 2017 at 15:58 | history | answered | RichardB | CC BY-SA 3.0 |