In Joomla 4 I can add a backend menu for my component like so:

        <menu img="components/com_mycomp/assets/images/icon-16-mycomp.png">mycomp</menu>
            <menu link="option=com_mycomp" view="mycomp" img="class:mycomp" alt="mycomp/mycomp">

But this only creates a simple one dimensional menu deep inside the components level.

Is there a way to create a flexible backend componend menu on the highest level with dashboard and adding links during installation like it is used in the com_users component here:

enter image description here

I know that i can create a backend folder called presets and add an XML file containing a new sidebar structure for the backend. But for that to work the user needs to switch to that preset in the administrator module menu.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.