Page cover

Navigations

Menus, Submenus, Megamenus

Options disponibles:

  • menu_name : Affichera le texte Humain

  • menu_title : Affichera le title="" au survol de la souris

  • menu_rel : Affichera le rel

  • menu_route : Url de destination

  • menu_pos : Pour certains thèmes sur mesure

  • sub_menuitems : Permet de déclarer un sous menu et ses liens

  • megamenu : Permet de déclarer un mégamenu

  • block_size : Permet de définir la taille de la grille entre 1 et 12 (Bootstrap) Megamenus uniquement

  • hide_mobile : bol (true) Permet de cacher le lien sur les appareils inférieurs à 800px (mobiles)

Simple Menu
Simple menu link
{
   "menuitems": [
      {
         "menu_name": "Découvrir",
         "menu_title": "C'est quoi Andromede CMS ?",
         "menu_rel": "noopenner",
         "menu_target": "",
         "hide_mobile": true,
         "menu_route": "/fr/c-est-quoi-androme-cms",
         "menu_pos": "left"
      },
      {
         "menu_name": "Découvrir 2",
         "menu_title": "C'est quoi Andromede CMS 2 ?",
         "menu_rel": "noopenner",
         "menu_target": "",
         "menu_route": "/fr/c-est-quoi-androme-cms",
         "menu_pos": "left"
      }
   ]
}
Sub Menus
{
   "menuitems": [
      {
         "menu_name": "MENU SUB",
         "menu_title": "Mon Super sous menu",
         "menu_rel": "noopenner",
         "menu_target": "",
         "menu_route": "#",
         "sub_menuitems": [
            {
               "menu_name": "Sub Link a",
               "menu_title": "Sub Link a",
               "menu_rel": "noopenner",
               "menu_target": "",
               "menu_route": "#"
            },
            {
               "menu_name": "Sub Link b",
               "menu_title": "Sub Link b",
               "menu_rel": "noopenner",
               "menu_target": "",
               "menu_route": "#"
            }
         ]
      }
   ]
}
MEGAMENU
{
   "menuitems": [  
        {
           "menu_name": "MEGAMENU",
           "menu_title": "MEGAMENU",
           "menu_rel": "noopenner",
           "menu_target": "",
           "menu_route": "#",
           "menu_pos": "",
           "megamenu": [
              {
                 "menu_name": "Block 1",
                 "menu_title": "Block 1",
                 "menu_rel": "noopenner",
                 "block_size": "3",
                 "menu_target": "",
                 "menu_route": "#",
                 "mega_submenus": [
                    {
                       "menu_name": "Link A",
                       "menu_title": "Link A",
                       "menu_rel": "noopenner",
                       "menu_target": "",
                       "menu_route": "#"
                    },
                    {
                       "menu_name": "Link B",
                       "menu_title": "Link B",
                       "menu_rel": "noopenner",
                       "menu_target": "",
                       "menu_route": "#"
                    },
                    {
                       "menu_name": "Link C",
                       "menu_title": "Link C",
                       "menu_rel": "noopenner",
                       "menu_target": "",
                       "menu_route": "#"
                    }
                 ]
              },
              {
                 "menu_name": "Block 2",
                 "menu_title": "Block 2",
                 "menu_rel": "noopenner",
                 "block_size": "3",
                 "menu_target": "",
                 "menu_route": "#",
                 "mega_submenus": [
                    {
                       "menu_name": "Link A",
                       "menu_title": "Link A",
                       "menu_rel": "noopenner",
                       "menu_target": "",
                       "menu_route": "#"
                    },
                    {
                       "menu_name": "Link B",
                       "menu_title": "Link B",
                       "menu_rel": "noopenner",
                       "menu_target": "",
                       "menu_route": "#"
                    }
                 ]
              },
              {
                 "menu_name": "Block 3",
                 "menu_title": "Block 3",
                 "block_size": "3",
                 "menu_rel": "noopenner",
                 "menu_target": "",
                 "menu_route": "#",
                 "mega_submenus": [
                    {
                       "menu_name": "Link A",
                       "menu_title": "Link A",
                       "menu_rel": "noopenner",
                       "menu_target": "",
                       "menu_route": "#"
                    },
                    {
                       "menu_name": "Link B",
                       "menu_title": "Link B",
                       "menu_rel": "noopenner",
                       "menu_target": "",
                       "menu_route": "#"
                    }
                 ]
              },
              {
                 "menu_name": "Block 4",
                 "menu_title": "Block 4",
                 "menu_rel": "noopenner",
                 "block_size": "3",
                 "menu_target": "",
                 "menu_route": "#",
                 "mega_submenus": [
                    {
                       "menu_name": "Link A",
                       "menu_title": "Link A",
                       "menu_rel": "noopenner",
                       "menu_target": "",
                       "menu_route": "#"
                    },
                    {
                       "menu_name": "Link B",
                       "menu_title": "Link B",
                       "menu_rel": "noopenner",
                       "menu_target": "",
                       "menu_route": "#"
                    }
                 ]
              }
           ]
        }
   ]
}

Mis à jour