Comment to Browse by Label
-
You can add "Browse by Label" and "Label Tree" blocks for any content module, just add "service" block in Studio > Developer > Pages to the desired page with the following code:
array ( 'module' => 'bx_events', 'method' => 'get_lables_tree', )
or with the following code for "Browse By Labels":
array ( 'module' => 'bx_events', 'method' => 'browse_by_label', )
just replace module name with "bx_persons", or any other content module.
-
Hi @Alex T⚜️ ! Thank you for sharing this code! For the browse by labels bx_persons (without imposing any filter on it as yet) this block takes it from "New persons". Is there a way for the block show Active Persons by default instead?
-