Skip to content
Zotonic
  • Start
  • Cookbook
  • Reference
  • Releases

Live search

Search across all Zotonic content

Type at least two characters

Results are matched against titles, summaries and topics as you type.

Filters · mod_admin
  • Reference
  • Frontend developer
  • Navigation
  • User interface and interaction
  • Template filter

admin_menu_items

Module

mod_admin

Flatten admin dropdown subgroups into headings and links, with separators around groups. Remove leading, trailing and consecutive separators after flattening, including those contributed explicitly by modules or nested groups.

Edit on GitHub

Related documentation

Filters

prev_in

Return the prev page in a menu or collection: {{ id|prev_in:container_id }} .

Filters

next_in

Return the next page in a menu or collection: {{ id|next_in:container_id }} .

Filters

menu_ids

Returns all resource ids in a menu. Could return invisible and non existing resource ids. The returned ids are a flat list, the hierarchy…

Filters

menu_subtree

Get the subtree of an id in a menu (if any).

Filters

menu_trail

Return a breadcrumb navigation trail for the given id.

Filters

menu_expand

Takes a menu, or a menu resource id, and adds all haspart objects connected to the menu ids.

Filters

menu_is_visible

Filters a list of menu items on visibility and existance. Only top-level menu items that are both visible and exist are kept in the list.

Filters

menu_rsc

Return the menu to be displayed with a resource.

Filters

menu_flat

Flattens the rsc menu structure for use in a template loop.

GitHub © 2026 Zotonic