Commit 65d56211 authored by Tino Goratsch's avatar Tino Goratsch

fixed the menu item management

parent 7b16a19f
......@@ -10,7 +10,34 @@
<div id="tab-1" class="tab-pane fade in active">
{include file="asset:System/Partials/" options=$mode required=true label={lang t="menus|page_type"}}
{include file="asset:System/Partials/form_group.input_text.tpl" name="title" value=$form.title required=true maxlength=120 label={lang t="menus|title"}}
{include file="asset:Menus/Partials/create_menu_item.tpl"}
<div class="form-group">
<label for="block-id" class="col-sm-2 control-label required">{lang t="menus|menu_bar"}</label>
<div class="col-sm-10">
<select class="form-control" name="block_id" id="block-id" required>
{foreach $blocks as $row}
<option value="{$}"{$row.selected}>{$row.title}</option>
<div class="form-group">
<label for="parent-id" class="col-sm-2 control-label required">{lang t="menus|superior_page"}</label>
<div class="col-sm-10">
<select class="form-control" name="parent_id" id="parent-id">
<option value="">{lang t="menus|no_superior_page"}</option>
{foreach $menuItems as $blocks}
<optgroup label="{$blocks.title}">
{foreach $blocks.items as $row}
<option value="{$}"{$row.selected}>{$row.spaces}{$row.title}</option>
{include file="asset:System/Partials/form_group.button_group.tpl" options=$display required=true label={lang t="menus|display_item"}}
<div id="tab-2" class="tab-pane fade">
<div id="module-container" class="form-group">
......@@ -51,5 +78,6 @@
{include file="asset:System/Partials/form_group.submit.tpl" form_token=$form_token back_url={uri args="acp/menus"}}
{include_js module="menus" file="admin/items.create"}
{include_js module="menus" file="manage-menu-item"}
......@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](
and this project adheres to [Semantic Versioning](
## [Unreleased] - 2016-xx-xx
### Fixed
- Fixed the menu item management
## [4.4.0] - 2016-11-13
### Added
- [#49]( Added the ability to use a custom menu item title when creating a menu item via the articles module
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment