View Issue Details

IDProjectCategoryView StatusLast Update
0035629mantisbtfeaturepublic2026-06-02 14:05
Reporterraspopov Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status acknowledgedResolutionopen 
Product Version2.27.1 
Summary0035629: New Menu API
Description

I think it is necessary to separate the code that collects links to form the main side menu into a separate API file. Now the layout_api.php file is quite large and contains more than 1300 lines. Of these, 250 lines are not used to print the actual layout of the page, but instead form a list of menu items.

Also, a new API is needed for correct generation of the sitemap ( 0035523 ).

TagsNo tags attached.

Activities

raspopov

raspopov

2025-03-19 12:29

reporter   ~0070005

PR: https://github.com/mantisbt/mantisbt/pull/2127

raspopov

raspopov

2026-01-18 09:59

reporter   ~0070716

PR has been rebased up to 2.28.

dregad

dregad

2026-01-30 08:39

developer   ~0070752

This one fell off the radar, sorry @raspopov. I'll try to have a closer look in the next few days.

raspopov

raspopov

2026-06-02 14:05

reporter   ~0071215

Since it’s been year and I’ve already forgotten why I created this API—other than for the sitemap—we can close this issue.
I’d like to transfer the necessary functionality from here directly to Sitemap's PR (0035523) on a limited basis.