Skip to content
This repository has been archived by the owner on Dec 1, 2020. It is now read-only.

[*] blockcategories: display only part of tree starting on specified level #9

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open

Conversation

natrim
Copy link

@natrim natrim commented Mar 31, 2015

useful to make the tree act as sub level menu

@natrim
Copy link
Author

natrim commented Mar 31, 2015

btw. pull request #11 and #9 conflict each other so here is both as diff https://dl.dropboxusercontent.com/u/9344942/blockcategories.diff

@maximebiloe
Copy link
Contributor

Hello,

Thanks for your PR.
I'm not sure about what you want to make.
Could you give me more details please ?

Best regards

@natrim
Copy link
Author

natrim commented May 13, 2015

Hello,
this way we can make the block tree start on depth 3 or lower making it into submenu.

@maximebiloe
Copy link
Contributor

Hello,

Ok, but you don't modify any tpl files to do that.
So, it can't modify the front office.

Regards.

@natrim
Copy link
Author

natrim commented May 14, 2015

The modification comes from setting the BLOCK_CATEG_START_DEPTH variable, setting it changes the tree outputed by the templates.

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

Successfully merging this pull request may close these issues.

2 participants