Find the Exponential Software extensions you want
| UNIX name | Owner | Status |
|---|---|---|
| xrowmobilemenu | eZ Publish Legacy | stable |
| Version | Compatible with |
|---|---|
| N/A | N/A |
Mobile AJAX menu for eZ Publish Legacy
Steps to set up xrowmobilemenu:
Activate Extension
in override/site.ini.append.php
[ExtensionSettings]
ActiveExtensions[]=xrowmobilemenu
or in siteaccess//site.ini.append.php
[ExtensionSettings]
ActiveAccessExtensions[]=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
button class="example" data-current_node={$current_node_id}>
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>
});