I've built my own component com_mycomp
and in the component there is form in a layout
and the path to this layout is:
com_mycomp/site/layouts/subscription/form.php
so I want to show this layout (form) in an article so I need to build a module to do the job for me, right?
my Question:
- can I load the layout in the module?
- I've also tried to build a
view
to show the layout but I also can't load theview
in themodule
, any thoughts?
P.S. I don't want to use an external module or plugin