This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

forums7529
forums7529

Hi,

The following page states 'Like any theme object in OctoberCMS - static pages, menus and text blocks are files stored in the theme directory'.

https://octobercms.com/blog/post/pages-and-menus-something-your-clients

So reading that sentence, it suggests that the menus are stored in a file somewhere.

Could someone please confirm where they are stored ?

I found Partials / nav.htm, but surely that's just the twig code that displays the menu items.

https://github.com/rainlab/relax-theme/blob/master/partials/nav.htm

Any help or pointers gratefully received.

Many thanks.

Crazymodder
Crazymodder

Hi,

Surely very easy. Under you active theme you will find a folder called "meta" and there is an folder called "menu" there you can find *.yaml files;)

Regards Crazymodder

forums7529
forums7529

Hi Crazymodder,

Ahh, thank you so much for pointing that out, that's brilliant.

I'm still learning this awesome platform and you have just helped me to learn a little bit more.

https://github.com/rainlab/relax-theme/blob/master/meta/menus/main-menu.yaml

Thanks again Crazymodder

Crazymodder
Crazymodder

You're welcome:)

1-4 of 4

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.