Download the PHP package xrow/xrowmobilemenu-ls without Composer
On this page you can find all versions of the php package xrow/xrowmobilemenu-ls. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download xrow/xrowmobilemenu-ls
More information about xrow/xrowmobilemenu-ls
Files in xrow/xrowmobilemenu-ls
Package xrowmobilemenu-ls
Short Description Menu extension for eZ Publish
License GPL-2.0
Informations about the package xrowmobilemenu-ls
xrowmobilemenu
Mobile AJAX menu for eZ Publish Legacy
Steps to set up xrowmobilemenu:
- Download xrowmobilemenu and install in
/ /extension/xrowmobilemenu directory. -
Activate Extension in override/site.ini.append.php
[ExtensionSettings] ActiveExtensions[]=xrowmobilemenu
or in siteaccess/
/site.ini.append.php [ExtensionSettings] ActiveAccessExtensions[]=xrowmobilemenu
- Add xrowmobilemenu.js and xrowmobilemenu.css to your design.ini
- Activate jQuery.
- Add one HTML-Tag of your desire with a proper class or an ID as Trigger for opening/closing the menu.
- Set up the Trigger in JS: $("button.example").xrowmobilemenu();
- Optionally you can configure what the menu should do:
a.
I recommend, that you use data-Attributes in your HTML-Trigger to pass the variables to JS
b. $("button.example").xrowmobilemenu({current_node_id: $("button.example").data("current_node")}); c. More Possibilities: $("button.example").xrowmobilemenu({ current_node_id: <add the current node id like in b. - this is recommended>, focus_current_node: <if the menu should focus on the current node on load, elsewhise it will show the children of the root node>, root_node_id:
, siteaccessname: <your url with siteaccess e.g. example.com/eng_gb> }); - Clear caches.