Menu.xml question.

Started by jeffsui, September 20, 2025, 03:04:22 PM

Previous topic - Next topic

I'm confused about my menu-file setup. This item is appearing at the bottom of my Service menu - I was thinking I didn't give the top class an "order" - is it supposed to be alphabetically sorted? Am I missing something obvious?

<?xml version="1.0" encoding="UTF-8"?>
<menu>
    <Services>
        <dhcpsync VisibleName="DHCP AdGuard Sync" cssClass="fa fa-refresh fa-fw">
            <General url="/ui/dhcpsync/general/index" order="10"/>
            <Version url="/ui/dhcpsync/version/index" order="15" VisibleName="Version"/>
            <LogFile url="/ui/diagnostics/log/core/dhcpsync" order="20" VisibleName="Log File" />
        </dhcpsync>
    </Services>
</menu>


Sorry for the late reply. The key is "dhcpsync" which sorts this to the bottom and "Dhcpsync" would sort this into the existing menu.


Cheers,
Franco
"AI has absolutely reduced the cost of creating technical debt." -- ChatGPT