Navigation node tree multilevel

Re: Navigation node tree multilevel

by Helson C -
Number of replies: 0

Hi ladys and gentleman...

Finally i got it!


$nodeExtra = $navigation->add('Node 1');

$subNode= $nodeExtra->add('Node 1.1');

$subNode->add('Link', 'http://link');


Now i have a new question. I have a custom node which is a link of another plugin. Then, i need put the "Node 1" after this node.

Ever the "Node 1" stay before of my another custom node.


See:

|Home

|Courses

|Node 1   <-------- Is before my custom node

|Custom Node


Then i need like this:

|Home

|Courses

|Custom Node

|Node 1   <-------- After