#
bolo
Hi,
We have a small module (SiteMapPath) to display the path of the page the user are in. In the module we build the sitemappath string iterating on nodes in this.Section.Node.NodePath ( foreach (Node n in this.Section.Node.NodePath) ):
If the module is linked to a node it works fine but if linked to a template this.Section.Node is null (that is expected because the module is not linked to a node as i said before).
Is there any way for a module linked to a template to know about the node where it is running in?
Thanks,
César.
We have a small module (SiteMapPath) to display the path of the page the user are in. In the module we build the sitemappath string iterating on nodes in this.Section.Node.NodePath ( foreach (Node n in this.Section.Node.NodePath) ):
If the module is linked to a node it works fine but if linked to a template this.Section.Node is null (that is expected because the module is not linked to a node as i said before).
Is there any way for a module linked to a template to know about the node where it is running in?
Thanks,
César.