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

[*] blockcategories: set max depth for footer part separately #11

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

[*] blockcategories: set max depth for footer part separately #11

wants to merge 1 commit into from

Conversation

natrim
Copy link

@natrim natrim commented Mar 31, 2015

useful to display only first level in footer as it looks better

@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.
If I understand what you want to do, you want to display only the first level of categories in the footer.
It is already like that.
Sorry if I misunderstood, don't hesitate to reformulate.

Best regards

@natrim
Copy link
Author

natrim commented May 13, 2015

But the

    with children is still there, just hidden with css.

    By adding one setting we can control the footer category tree length.

@maximebiloe
Copy link
Contributor

Hello,

As in the #9, you didn't modify any tpl files.
So, there is no front office modification.

Regards.

@natrim
Copy link
Author

natrim commented May 14, 2015

There is modification, by setting the BLOCK_CATEG_MAX_DEPTH_FOOTER you change how deep the tree outputed by templates goes.

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