Line 58: |
Line 58: |
| </syntaxhighlight>This file will need to be here:<syntaxhighlight lang="shell"> | | </syntaxhighlight>This file will need to be here:<syntaxhighlight lang="shell"> |
| /usr/share/smanager/SrvMngr/Controller/Userpanelaccess.pm | | /usr/share/smanager/SrvMngr/Controller/Userpanelaccess.pm |
− | </syntaxhighlight>Note the menu entries at the top, and the route specification (the capitalisation and case matching is important here) | + | </syntaxhighlight> |
| + | [[File:Screenshot from 2024-02-29 12-25-32.png|thumb]] |
| + | Note the menu entries at the top, and the route specification (the capitalisation and case matching is important here) |
| | | |
| Also note the full URL for the SM1 (legacy) contrib, and also the window length (it defaults to 600px if you do not specify). | | Also note the full URL for the SM1 (legacy) contrib, and also the window length (it defaults to 600px if you do not specify). |
| | | |
| This all that is necessary to customise the menu entry for a legacy contrib. | | This all that is necessary to customise the menu entry for a legacy contrib. |
| + | |
| | | |
| == Just install the contribs rpm and call it from the "Legacy" category == | | == Just install the contribs rpm and call it from the "Legacy" category == |
| + | [[File:Screenshot from 2024-02-29 12-25-15.png|thumb]] |
| Server manager 2 will scan for installed contribs, and any that are not fully compatible with Mojolicious will just load the menu entry, using the package name as a link, under the "Legacy" category, normally at the bottom of the menu stack. | | Server manager 2 will scan for installed contribs, and any that are not fully compatible with Mojolicious will just load the menu entry, using the package name as a link, under the "Legacy" category, normally at the bottom of the menu stack. |
| + | |
| + | |
| + | |
| | | |
| == The need to login into Server Manager 1 == | | == The need to login into Server Manager 1 == |