1

Topic: Menu filter

How I can automaticaly generate menu by alphabetical? What I must change in the plugin code?

Re: Menu filter

They are sort by ORDER field now.

You can change here:
https://github.com/Awilum/monstra-cms/b … in.php#L49

to this:

->assign('items', $menu->select('[category="'.$category.'"]', 'all', null, array('id', 'name', 'link', 'target', 'order', 'category'), 'name', 'ASC'))

ASC - Ascending
DESC - Descending

Monstra Loves You! Give some love back!