Skip to content

getResourceLoaderModules() is ignored if Component is member of NavbarHorizontal #409

@D-Groenewegen

Description

@D-Groenewegen

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() )?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions