Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't build the tree #22

Open
igor-duspara opened this issue Mar 12, 2019 · 2 comments
Open

Can't build the tree #22

igor-duspara opened this issue Mar 12, 2019 · 2 comments

Comments

@igor-duspara
Copy link

I have installed your extension to my Bolt CMS (3.2.20), because it do what I'm searching for. After install of the extenstion, it can't rebuild the tree.

Screenshot

It would be also nice if you can provide a example config for menu.yml and hierarchicalroutes.twokings.yml for a 3 level hierarchical route.

@xiaohutai
Copy link
Owner

xiaohutai commented Mar 12, 2019

It works like the highlighted part in:
https://github.com/bolt/bolt/blob/3.6/app/config/menu.yml.dist#L9-L21

and specify menu in:
https://github.com/xiaohutai/bolt-hierarchicalroutes/blob/master/config/config.yml.dist#L6

Use path and don't use link.


Edit: Lemme check. Something weird is going on

@xiaohutai
Copy link
Owner

Have you overriden the setcontent_legacy to false perhaps?

It seems that this extension does not work with the non-legacy one.

Settiing it to true should do the trick in a clean Bolt install.

compatibility:
    setcontent_legacy: true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants