This repository was archived by the owner on Jan 3, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Publish
Muah edited this page Jul 19, 2018
·
58 revisions
- users
- pages
- menus
- menu_page
- examples
-
Menu
-
SimpleMenu::menu.examplefor displaying the menu list.-
internally we get all the available menuNames and its corresponding pages then we check if there is a view file equal to the menu name ex.
vendor\SimpleMenu\menu\hero& if not we usevendor\SimpleMenu\menu\exampleinstead, also in the view file you will get 2 variables- $PAGES : all the menu pages
- $menuName : in case you want to do something depend on menuName.
-
-
SimpleMenu::menu.partials.r_paramsto resolve route params across several views. -
SimpleMenu::menu.partials.nestedto render the descendants/childrens of each menu item.
-
-
Navigation
-
SimpleMenu::breadCrumbto display the current page breadCrumbs. "getAncestors" -
SimpleMenu::langSwitcherto display the supported locales while resolving the route params during redirection.
-
-
- for styling we use bulma
-
Pagination
- for styling we use bulma
- usage