--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-general+unsub...@googlegroups.com.
To post to this group, send email to joomla-dev-general@googlegroups.com.
Visit this group at https://groups.google.com/group/joomla-dev-general.
For more options, visit https://groups.google.com/d/optout.
It's tricky but it can be done. Look at com_media as a very rough example.There are some config values you can push into the MVC classes to force them to load resources from a specific path by default. Otherwise they use defaults based on the active application. You'll have to read the MVC class constructors and the factory methods to make sense of this.
On Sun, Jul 9, 2017 at 6:22 PM, Walt Sorensen aka photodude <wa...@waltsorensen.com> wrote:
Not really. Joomla uses an MVC design and the frontend and backend are separate. There are two ways to work around this, 1) copy your back end model and modify it for the front end (a violation of DRY programming) or 2) use FOF3 which has an HMVC design allowing for models to be reused.
Hello World FOF3 example in just 5 simple steps. https://github.com/photodude/FOF3-Basic
The FOF3 wiki getting started page will also give you some guidance. https://github.com/akeeba/fof/wiki/Getting-started-with-a-FOF-component
--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-general+unsub...@googlegroups.com.
To post to this group, send email to joomla-de...@googlegroups.com.