Forums / Setup & design / node_view_gui function in a template
Shaun Ellis
Thursday 02 October 2003 2:04:05 pm
Ok, I hope I can articulate this...
I would like to output a list of root folder child objects in the side nav of my site. I'm using the news demo as a tutorial for how to do this. Unfortunately, the demo example just outputs objects of one class (folders) and does not have to use the {node_view_gui} function. I want to output all children regardless of class and need to use this. But here's the problem... my nav links look like this: <a class="nav"> and the rest of my site links look like this: <a class="normal">. Since the output script is in a template (top_menu.tpl), it has no object, node, or class id to Match to for an override of the line view template. How can I implement a unique line view within a template when there are no elements to Match on?
-Shaun