Skip to content

Accompanying code for tutorial. How to manage menu within cloudcms

Notifications You must be signed in to change notification settings

idealley/cloudcms-manage-menus

Repository files navigation

How to manage menus in cloudcms

This tutorial walks you trough the different steps to create a menu graph that is connected to your content graph:

Aim

  • Manage menus
  • Generate sitemaps
  • maintain a consitant breadcrumb/pathway (you are here: page > page > ...)

Setup

The setup of Cloud CMS is handled by a CLI. You need to provide API Keys. If you do not have any check the documentation. Then clone this repository and:

  • $ npm install
  • $ node setup
    • select Setup Cloud CMS for the tutorial
  • run again $ node setup (soon option will be back)
    • select Import sample content This will create all the necessary content for the demo, but you will still have to link items. This is explained in the tutorial (coming soon).

Run the app

$ node app.js You have now few routes available:

  • /main-menu -> displays the menu and you can click on the menu items
  • /a-category
  • /a-category/article-1
  • /article-3

Normally you can add new pages/menu item, there is a simplistic automatic routing included.

About

Accompanying code for tutorial. How to manage menu within cloudcms

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published