Forums / Developer / setting node id for extensions
Norman Leutner
Wednesday 14 January 2004 2:04:07 am
Hello everybody !
Can someone tell me how to define a node id for an extension ?
I have programmed an extension with direct database connections.The permissions are already set through the standard module permissions within the admin panel.
I have also programmed a dynamic navigation which loops through nodes and their childs and shows links and buttons depending on the permissions on the node.
Now the problem is to show a button to the programmed extension depending on the rights on that extension.
My first problem solution in mind is to set a node id for the extension.
Can anyone tell me how to solve that problem or how to set the node id.
Best Regards
Mit freundlichen Grüßen Best regards Norman Leutner ____________________________________________________________ eZ Publish Platinum Partner - http://www.all2e.com http://ez.no/partners/worldwide_partners/all2e_gmbh
Eirik Alfstad Johansen
Wednesday 14 January 2004 6:50:25 am
Hi Norman,
Since a node is a placement of a content object in the system hierarky, it doesn't make much sense to assign a node id to an extension. However, have you tried assigning access rules to the different views of the module extension?
Sincerely,
Eirik Johansen
Sincerely, Eirik Alfstad Johansen http://www.netmaking.no/
Thursday 15 January 2004 11:23:09 pm
Hi Eirik,
I`ve already set the access rules for the extension.That`s not the problem.
The Problem is to integrate the extension into the dynamic navigation, depending on the rights given to the module / extension.
The solution would be to check the rights given to the module within the navigation template. But I didn`t find anything about that until now.
Best Regards, Norman Leutner