rbaby wrote:
Code: Select all
<ul>
<li id="ID">Main Navigation
<ul id="ID">
<li>Sub-Item</li>
</ul>
</li>
<li id="ID2">Main Navigation
<ul id="ID2">
<li>Sub-Item</li>
</ul>
</li>
</ul>
This won't render as valid HTML... and this is your example.
rbaby wrote:Thank you Jo Morg but the idea is that it should be unique per page
That is where one of us is misinterpreting the other....
Being
unique per page and being
unique within a page are different things... and two elements on the same page
cannot have the same id. Other than that you should be able to get any database unique id for a any of the nodes by using the
as it is documented on the module's help page...