Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Publish

Muah edited this page Jul 19, 2018 · 58 revisions

Migrations

  • users
  • pages
  • menus
  • menu_page

Seeds

  • examples

Views

  • 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 use vendor\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.

  • Crud

    • for styling we use bulma
  • Pagination

    • for styling we use bulma
    • usage
Clone this wiki locally