During website development you often come across situations when the Customer needs a convenient and simple-to-understand tool to fill end edit multi-level navigation menu. Working with the template via FTP or online template editor is complicated and prone to errors. That is why we've developed the Menu Generator plugin that enables main menu management by an unexperienced user without endangering the html-layout.
Authors: esclkm, Kalnov Alexey, Cotonti Team
Github: https://github.com/Cotonti-Extensions/menugenerator
Menu edit example:
Tags for displaying menus in theme templates have the following format:
{PHP.MENUGENERATOR.<PATH>}
For example, from the screenshot above, the bottom menu in the "footer" (footer.tpl)
{PHP.MENUGENERATOR.F}
And the side menu (in header.tpl):
{PHP.MENUGENERATOR.LE}
All tags are global and accessible from any template.
The menu can be customized using templates. Template names are formed according to the following principle:
menugenerator.<general_or_path_root>.<level>.<path>.tpl
where:
For example:
for the screenshot above, the menu template in the "footer" of the site will be in the menugenerator.t.tpl
, and the side menu template is menugenerator.le.tpl
, the first level menu template: menugenerator.le.level1.tpl
Single menu item can be designed in template: menugenerator.le.level2.le.1.30.tpl
You can use additional fields to display additional information: description, icons, etc. Extrafields are also supported.
{MENU_TITLE}
- menu item title{MENU_HREF}
- link{MENU_PATH}
- path (see menu filling){MENU_EXTRA}
- additional text field{MENU_DESC}
- description{MENU_ID}
- ID{MENU_SUBMENU}
- submenu.
Thanked: 265 times
Использует ли он в своей работе ф-цию sed_url и позволяет ли он выбирать ссылки мышкой, не вводя текст вручную? Например выбираешь последовательно страницы->категория->страница а оно генерирует текст ссылки.
Thanked: 217 times
Thanked: 76 times
понимаешь - есть не только категории, есть еще и форумы и плагины, сторонние скрипты, внешние ссылки.
Главное суть плагина - правильно постороить дерево ссылок - 4-5 уровневое, при наличие правильного CSS? сделать это с меньшими затратами крови,
А так же сделать различные деревья меню - для различных групп - одно для гостей, другое для админов,
Плюс - возможность сделать различные менюши в разных участках сайта
Thanked: 102 times
Если во время установки получили "Fatal error" - возможно поможет мое решение.
Thanked: 265 times
Исправлено. Спасибо.