- Priority: 0
- Status: Closed
- Theme: Alysum
-
Assigned To:
Marek
- Private: No
- Open Date: 19.04.13, 18:21
- Opened by: Alex
- Closed by: Marek
- Closed on: 25.04.13, 19:16
- Reason: Not a bug
Ticket #352 - Megamenu
Hello Alex and Marek,
I would like to display only 5 Subcategories ( not all the categories ) in each Category from Megamenu , Asylum theme. How can i do this ?
Thanks a lot
alex
Comments
Hello. Show me please with the screenshot the issue
Hi Alex,
Here’s my menu i would like to LIMITE to 5 subcategories display for all the categories but i don’t find where in blockmegamenu.php
to add sql limite.
Thank you :)
Hello Alex.
- Open the file blockmegamenu.php
- Find the line:
- Paste condition
after the code above
- close “if” condition before the end of “foreach” cycle
Hello Marek,
Thank you for your help,
It’s works well with empty cache , but the $i variable limite the children AND the Parents categories too :(
I would like just limite the children only… Hope you release a new module megamenu with more option for example with a subcategory add “see more »” when subcategory > 5
Regards
alex
Ok, if I’ll find a free time I add such function.