Create the _Configuration Topic
In administration go to "Content Management" > "Topics (Pages)" and create the topic with the system name _Configuration . Copy a sample configuration object below and paste it into the text area.
A simple Menu
First we create a simple, flat menu with standard menu items using tokens.
{
menu: [
{ title: "[HOMEPAGE]" },
{ title: "[NEWPRODUCTS]" },
{ title: "[BLOG]" },
{ title: "[FORUM]" },
{ title: "[MYACCOUNT]" },
{ title: "[CONTACTUS]" }
]
}
Categories Submenu
We add a submenu to the homepage, automatically populated with the categories of our store.
{
menu: [
{ title: "[HOMEPAGE]", submenu: [
{ title: "[CATEGORIES]" }
]
},
{ title: "[NEWPRODUCTS]" },
{ title: "[BLOG]" },
{ title: "[FORUM]" },
{ title: "[MYACCOUNT]" },
{ title: "[CONTACTUS]" }
]
}
News with Submenu
We create a top item "News" pointing to the news page and adding a submenu containing links to "New products", "Blog" and "Forum".
{
menu: [
{ title: "[HOMEPAGE]", submenu: [
{ title: "[CATEGORIES]" }
]
},
{ title: "News", url: "/news", submenu: [
{ title: "[NEWPRODUCTS]" },
{ title: "[BLOG]" },
{ title: "[FORUM]" }
]
},
{ title: "[MYACCOUNT]" },
{ title: "[CONTACTUS]" }
]
}
To be continued...
