I'm rebuilding a component called
DogWalk for Joomla 4 and I've tried to ensure I'm doing exactly what the core
Banners component does. I've named and namespaced my files, named my directories identically to how
Banners does it, but I can't get the
BaseController to find my view file.
I'm dumping the
$this->paths array from
BaseController::createView, and the path is the same for
Banners and for
array (size=1) 'view' => array (size=1) 0 => string '/Users/mystuff/Sites/joomla4/administrator/components/com_dogwalk/views/'
However my component is looking for a file called
mycomponentViewviewname while the actual view class name for
Banners (and all the other admin components) is just
HtmlView. Furthermore the
Banners view class is found even though it's in
views (despite what
$config array says).
How do I define where the controller will find my views, and what naming convention they would use?