using the accessible_simple_navigation.tpl on Left simple navigation + 1 column
{menu template='accessible_simple_navigation.tpl' collapse='1'}
accessible_simple_navigation.tpl on line 36 I have add
Code: Select all
{if $node->image != ''} <img src="{$node->image}" alt="" />{/if}
so the line is
Code: Select all
<li><a href="{$node->url}"{if $node->accesskey != ''} accesskey="{$node->accesskey}"{/if}{if $node->tabindex != ''} tabindex="{$node->tabindex}"{/if}{if $node->titleattribute != ''} title="{$node->titleattribute}"{/if}{if $node->target != ''} target="{$node->target}"{/if}><dfn>{$node->hierarchy}:</dfn><span>{$node->menutext}</span>{if $node->image != ''} <img src="{$node->image}" alt="" />{/if}</a>
On the web page No image into the menu But
Notice: Undefined property: stdClass::$image in \tmp\templates_c\b8312...c7838.module_file_tpl.MenuManager;accessible_simple_navigation.tpl.php on line 87
Code: Select all
line 87 : </span><?php if ($_smarty_tpl->tpl_vars['node']->value->image!=''){?> <img src="<?php echo $_smarty_tpl->tpl_vars['node']->value->image;?>