$nodemain = $navigation->add("parent");
$nodeshop = $navigation->add("child1", new moodle_url("..."), navigation_node::TYPE_CUSTOM,
null, null);
$nodecart = $navigation->add(child2, new moodle_url("..."), navigation_node::TYPE_CUSTOM,
null, null);
$nodemain->showinflatnavigation = $nodeshop->showinflatnavigation = $nodecart->showinflatnavigation = true;
I want a flat nav like
parent
- child1
- child2
But by this code I have achieved
parent
child1
child2
under boost left side flat nav. I hope this is the right forum for asking help regarding this.
Thanks and regards,
Sandipa