- The admin refuses a parent from another menu than the one the form names (errors.parent_menu) instead of moving the entry to the parent's menu without a word; BeforeSave records the named menu (MenuEntry.RequestedMenuID). - An entry moved to another menu moves its descendants in the same transaction, so the public tree no longer drops them.
49 lines
1.6 KiB
YAML
49 lines
1.6 KiB
YAML
plugin:
|
|
name: Menus
|
|
description: Site menus with links, dividers and content entries.
|
|
permissions:
|
|
manage_menu: Manage site menus
|
|
models:
|
|
general:
|
|
id: ID
|
|
created_at: Created At
|
|
updated_at: Updated At
|
|
menu:
|
|
label: Menu
|
|
label_plural: Menus
|
|
name: Name
|
|
code: Code
|
|
css_class: CSS class
|
|
is_active: Active
|
|
menuentry:
|
|
label: Menu entry
|
|
label_plural: Menu entries
|
|
menu: Menu
|
|
menu_comment: Entries with a parent belong to the parent's menu; leave it empty to take the parent's. Moving an entry moves its sub-entries with it.
|
|
parent: Parent
|
|
type: Type
|
|
type_url: Link
|
|
type_divider: Divider
|
|
title: Title
|
|
url: URL
|
|
url_comment: Used by Link entries. Start with http://, https://, mailto:, tel:, / or #.
|
|
reference: Reference
|
|
reference_comment: The record this entry points to, for types that need one.
|
|
url_pattern: URL pattern
|
|
url_pattern_comment: Use :placeholder syntax, e.g. /blog/:slug
|
|
code: Code
|
|
icon: Icon
|
|
css_class: CSS class
|
|
target: Opens in
|
|
target_self: Same tab
|
|
target_blank: New tab
|
|
is_published: Published
|
|
reorder_title: Reorder menu entries
|
|
errors:
|
|
url_scheme: Use a link that starts with http://, https://, mailto:, tel:, / or #.
|
|
target: Choose Same tab or New tab.
|
|
type_unknown: Choose one of the listed types.
|
|
menu_required: Choose a menu or a parent entry.
|
|
parent_cycle: An entry cannot be placed under itself or one of its own entries.
|
|
parent_menu: The parent entry belongs to another menu. Choose a parent from the selected menu, or change the menu.
|