Forums / Developer / node_view_gui and override condition
Seb gaillard
Wednesday 22 April 2009 6:26:12 am
hello,
in a tpl, i make this
{foreach $nodes_items as $index => $node_item} {node_view_gui content_node=$node_item view=line_item} {/foreach}
In my override.ini.append.php, i have
### LINE [line_article_sport] Source=node/view/line_item.tpl MatchFile=node/view/line_item/articleSport.tpl Subdir=templates Match[parent_class_identifier]=folder_sport Match[class_identifier]=article ### LINE [line_article] Source=node/view/line_item.tpl MatchFile=node/view/line_item/article.tpl Subdir=templates Match[class_identifier]=article
I don't underdstand why the override doesnt't work with the node_view_gui ? The following override works fine when i visualise a content with the 'content' module and the view 'view' (content/view/full/153)
### FULL [full_article_sport] Source=node/view/full.tpl MatchFile=node/view/full/articleSport.tpl Subdir=templates Match[parent_class_identifier]=folder_sport Match[class_identifier]=article ### LINE [full_article] Source=node/view/full.tpl MatchFile=node/view/full/article.tpl Subdir=templates Match[class_identifier]=article
Any idea?