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.example
for 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\example
instead, 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_params
to resolve route params across several views. -
SimpleMenu::menu.partials.nested
to render the descendants/childrens of each menu item.
-
-
Navigation
-
SimpleMenu::breadCrumb
to display the current page breadCrumbs. "getAncestors" -
SimpleMenu::langSwitcher
to display the supported locales while resolving the route params during redirection.
-
-
- for styling we use bulma
-
Pagination
- for styling we use bulma
- usage