Menu Builder

0 views
Skip to first unread message

Shawnna Franz

unread,
Aug 5, 2024, 3:17:18 AM8/5/24
to asedelpos
Seconduse case is where the whole dropdown link & button should be 1 link that only controls the dropdown. In this case the text we enter in the builder needs to be added to the button rather than the div, this then allows the text to be read out with screen readers whilst also allowing the whole link to be focussed rather than just the icon.

Use our restaurant menu maker to design custom menus to power your brand and marketing. See your design come to life in minutes! Find the world's largest collection of professional restaurant menu templates just waiting to be customized.


Upload your logo and place it wherever you want on your menu. If you don't have a logo, you can easily create one with logo templates. Upload your own photos, or select from the extensive library of free images. Simply drag and drop them into your design.


Generate a QR code for your menu so you can share it online and in-house with your customers. QR codes are editable, so no reprinting required. Make updates to your design whenever and keep the same QR code!


Templates make it quick and easy to design a custom menu for your restaurant. With the world's largest collection of professional restaurant designs (15,000 and counting), you can always find one that fits your cuisine and aesthetic.


menu-builder-deleteThis permission allows your non-superusers to trash and delete menus using either the 'Actions Panel' in Menu Builder's admin main page or, when editing a single menu, via the 'Delete' tab. Note two things:(i) This permission takes a whitelist approach. If this permission does not exist on your system (i.e. has not yet been created or is present but unpublished), by default, all users will be able to trash and delete menus.(ii) The permission only kicks in if it is found. In that case, users without the permission will not be able to trash or delete menus.


menu-builder-selectorThis permission allows your non-superusers to add ProcessWire pages as menu items using a ProcessWire selector. This permission (and all the rest below) takes a blacklist approach. The permission does not need to exist in your system to kick in and by default all non-superusers are not able to add pages as menu items using selectors. This means that if you intend that only superusers will be allowed to use selectors in this manner, there is no need to create the permission. Only create and apply it if you wish to grant a particular non-superuser this feature. The same applies to all the following permissions.


menu-builder-selectableThis permission allows non-superusers to specify ProcessWire pages that are selectable as menu items in either of two configurable page fields in Menu Builder, i.e. AsmSelect or PageAutocomplete (BUT not PageListSelectMultiple).


menu-builder-page-fieldThis permission allows non-superusers to change the page field type used to select ProcessWire pages to add as menu items, i.e. toggle between AsmSelect [default], PageAutocomplete or PageListSelectMultiple.


menu-builder-multi-lingual-itemsThis permission allows non-superusers to set and use the multi-lingual menu items feature (available only on multi-lingual sites).UninstallUninstall like any other ProcessWire module. Note that All your menus will be deleted on uninstall!. The associated fields and template above will also be deleted.ResourcesSupport ForumLicenseGPL2ChangelogVersion 0.2.7In multi-lingual environments, menus and breadcrumbs can retrieved using their titles or names in any language irrespective of the current user's language.For getMenuItems() usage only, added option extra_fields to return values of some specific fields on the menu item pages. See documentation for compatible Fieldtypes.Changed menu builder GUI and process for adding Menus. Menus are now added one at a time and can have multi-lingual titles.Locked menu GUI improved.Fixed bug that allowed access to unpublished menus for frontend rendering.Version 0.2.6Added the properties numChildren, totalChildren and showMoreText for use with getMenuItems().Added option maximum_children_per_parent to limit the maximum number of (included) children a menu item can return.Fixed CSS issue that affected menu items' trash cans in the backend. Thanks @duncan.Refactored code to improve efficiency.Version 0.2.5Fixed typos and minor bugs where we needed to check if a variable was an array first before counting it.Version 0.2.4Fixed a bug where default_class was not getting applied to included children in getMenuItems() context.Fixed a bug where last_class was not getting applied correctly/at all to some menu items.Version 0.2.3Fixed a bug where inactive pages in multi-language sites would still be displayed in menus.Version 0.2.2Support for namespaced ProcessWire only (ProcessWire 3.x).Various bug fixes in getMenuItems() and breadcrumbs.Fixed bug that prevented menus in multi lingual environments from saving.Version 0.2.1Fixed bug in 'current_class_level' where 'current_class' was being applied to 'Home' menu item when level was set to '0'.getMenuItems() now honours both locally and globally set 'include_children'.Added 'cached_menu' option to MarkupMenuBuilder to save and fetch menus from cache to speed up menu rendering if required.Added 'cached_menu_time' to set cached menu expiration time.Fixed bug in ProcessMenuBuilder where 'include_children' and 'm_max_level' inputs would be displayed when the page selected to add to menu was 'Home'.Version 0.2.0Modified 'current_class_level' option to apply 'current_class' to a menu item when viewing any of its descendant child pages (child, grandchild, etc.) in cases where those descendant pages are neither part of the menu nor included via 'include_children' if its value is set to '0'.Version 0.1.9All (custom and pages) menu items now optionally multi-lingual.Added setting to use permission 'menu-builder-multi-lingual-items'.Code refactoring.Version 0.1.8Added enable/disable menu items settings.Added setting to use permission 'menu-builder-disable-items'.Added 'check_listable' option not to display menu items not listable to current user.'current_class' now also applies to breadcrumbs.Code cleanup.Version 0.1.7Fixed minor bug that affected display of titles of menu items with apostrophes in menu settings.Code cleanup.Version 0.1.6Fixed JS Bug where select all checkbox was not working in Menu Builder dashboard.Fixed issue where InputfieldMarkup would not properly render HTML in descriptions.Version 0.1.5Added method getMenuItems that greatly simplifies the creation of complex custom menus.Version 0.1.4Moved first tab 'Main' to become the third tab and renamed it to 'Settings' for better UX.Version 0.1.3Fixed bug where on uninstalling the module, menu pages in the trash would not get deleted, throwing an error when attempting to delete their template.Version 0.1.2As per a request, added ability to use 'Page List Select Multiple' page field to select pages to add to menu items. This is in addition to the existing AsmSelect and PageAutocomplete.Fixed bug where 'new_tab' setting would not be reliably applied to new custom links menu items.Version 0.1.1Fixed bug relating to getLanguageValue() (issues #22 and #25).Fixed bug where 'has_children' would not be applied to a menu item whose children were included 'natively'.Switched to $this->wire('pages') from wire('pages') (and similar).As per request at issue #18, added option 'default_class' to enable application of a default CSS class to every menu item at API level.Version 0.1.0Cleaned-up HTML output by MarkupMenuBuilder.Version 0.0.9Fixed bug in 'current_class_level' when 'include_children' is active.Version 0.0.8Added new feature 'include children'. Allows global (menu-level) or item-level inclusion of a ProcessWire page menu item's 'natural' descendants (children, grandchildren, etc) in menus/breadcrumbs at runtime. This means such pages do not have to be added as part of the navigation during editing in Menu Builder.Added a 'current_class_level' to specify how far up menus the 'current_class' should be applied (i.e. current/active parents).Permission 'menu-builder-included-children' added to limit access to the new feature 'include children'.Version 0.0.7Added multi-lingual support for saving and displaying menus/breadcrumbs.Version 0.0.6Added method in MarkupMenuBuilder for rendering breadcrumbs - renderBreadcrumbs().Can now also pass Page object to method render() to render menu items/breadcrumbsVersion 0.0.5Corrected some markup errors.Version 0.0.4Added various permissions to control visibility and editing of advanced settingsVersion 0.0.3Option to allow markup in menu item title (label) - superusers onlyAdded more options to render() method, e.g. first, last classesVersion 0.0.2First Beta versionMenus saved as ProcessWire pagesMenu items saved as JSON in a field in Menu pagesAdd menu items from ProcessWire pages using page fields (option to choose between PageAutocomplete and AsmSelect [default]) or a Selector (e.g. template=basic-page, limit-20).Specify a selector to return only those specified pages for selection in the page field (i.e. asm and autocomplete)For page fields, similar to custom menu items, add CSS classes and IDs as you add the itemsMenu settings for nestedSortable - e.g. maxLevels (limit nesting levels)Lock down menus for editingHighly configurable MarkupMenuBuilderVersion 0.0.1Initial alpha release kongondoProcessBlogProcessMenuBuilderFieldtypeRuntimeMarkupFieldtypeMatrixJqueryFileUploadFieldtypeImageMarkerProcessMediaManagerProcessDynamicSelectsProcessPagesExportProcessVisualPageSelectorProcessVariationsMoreBrowse ModulesModules you likedRecently addedRecently updatedRecently likedPopular modulesModule authorsModule categoriesView all modules

3a8082e126
Reply all
Reply to author
Forward
0 new messages