Hi, I've been trying out various custom components and noticed a bug with components that are nested within the horizontal navbar (type="NavbarHorizontal") in the XML layout. The HTML does get rendered without issues, but any modules added through getResourceLoaderModules() are ignored. The result remains the same for the following:
Custom components that are in the Skins\Chameleon\Components\NavbarHorizontal namespace
Custom components that are in the Skins\Chameleon\Components namespace - probably not the way to go, but same result.
The existing SearchBar component
There seems to be a selection process in Structure.php that decides which subcomponents should be queried for module names. Is it possible that there should be something equivalent in NavbarHorizontal.php (which can then go on to use getResourceLoaderModules() )?
Hi, I've been trying out various custom components and noticed a bug with components that are nested within the horizontal navbar (type="NavbarHorizontal") in the XML layout. The HTML does get rendered without issues, but any modules added through getResourceLoaderModules() are ignored. The result remains the same for the following:
There seems to be a selection process in Structure.php that decides which subcomponents should be queried for module names. Is it possible that there should be something equivalent in NavbarHorizontal.php (which can then go on to use getResourceLoaderModules() )?