| Monday 11 December 2006 11:04:59 am 
                                                                
                                                                 Hi folks, I'm using eZ 3.8. I've got a template like this (excerpt): 
	{def $oldlinks=fetch(content, list, hash('parent_node_id', $node.node_id, 'class_filter_type', 'include', 'class_filter_array', array('link_mag')))}
	<table style="text-align: center;" class="linkmag_archive_table">
		<tbody>
{foreach $oldlinks as $oldlink}
			<!-- table row from other template -->
{node_view_gui content_node=$oldlink view=archivetable}
{/foreach}
the node_view_gui should spawn another template called linkmag_archive_tablerow.tpl. It is in the override/templates folder of our custom design folder where all other (working) templates are. Here is the override condition (all my other override conditions in the same spot work): 
[linkmag_archive_tablerow]
Source=node/view/full.tpl
MatchFile=linkmag_archive_tablerow.tpl
Subdir=templates
Match[viewmode]=archivetable
Match[class_identifier]=link_mag
 
Most of it is copied from other (working) overrides.However, the node_view_gui command in the template just renders... nothing. At all. I can't even get any debug output about it. Nothing at all.
 I've tried changing it to Source=node/view/archivetable.tpl but that changed nothing. 
I've cleared the cache several times. The class_identifier is correct, too. The override is the first in override.ini.append.php.When I delete the override condition (and clear the caches) I get the same.
 This problem has truly confounded me and I would really appreciate any help. Thanks. |