Search the Community
Showing results for tags 'recursive'.
-
Aligator (wip) Processwire Module to render a nested tree starting from a single root or an array of pages. Aligator is similar to MarkupSimpleNavigation but has a different approach of how to define the markup for your menu. It doesn't assume any markup or classes. It's up to you to defin...
- 15 replies
-
- 21
-
-
- nested
- navigation
-
(and 2 more)
Tagged with:
-
Hi there, i just want to share the code of what the subject line says. The pages to appear in the menu have a custom field "in_main_menu" of type checkbox checked. The item <li>s of the actually shown page and in the direttissima upwards - except home - get the class "current". The item <ul>...
- 1 reply
-
- 1
-
-
- navigation
- recursive
-
(and 1 more)
Tagged with:
-
I have been banging my head about this for a while so I reckoned let me pick your brains instead I have a recursive function pinched from SO that loops over and outputs some records... <?php function listProducts($productCat,$level=0) { $result = wire('db')->query("SELECT id, product, produc...