If you want to register the Customer module, simply register it through the XML file in ... /Kernel/Config/Files/yourConfigName.xml as follows:
<ConfigItem Name="CustomerFrontend::Module###MyCustomModule" Required="0" Valid="1"> <Description Translatable="1">Frontend module registration for the customer interface.</Description> <Group>Ticket</Group> <SubGroup>Frontend::Customer::ModuleRegistration</SubGroup> <Setting> <FrontendModuleReg> <Description>My Module Desc</Description> <NavBarName>Ticket</NavBarName> <Title>My Module</Title> <NavBar> <Description Translatable="1">My Module desc</Description> <Name Translatable="1">My Module</Name> <Block></Block> <Type>Submenu</Type> <NavBar>Ticket</NavBar> <Link>Action=MyCustomModule</Link> <LinkOption></LinkOption> <Prio>600</Prio> </NavBar> </FrontendModuleReg> </Setting> </ConfigItem>
Do not forget to name the module, respectively, "MyCustomModule.pm" and change the name of the autoload module in the module itself
source share