placing a menu block inside a views template I need to place a menu block (the main-menu) inside a views template file - the template for the rows design. 

I tried

$block = module_invoke('system','main_menu');
print render($block['content']);

and

$block = module_invoke('menu','main_menu');
print render($block['content']);

but nothing works. 

Can anyone please give me a little help?
I used the code which was rendering the main-menu from page.tpl.php file in the theme that I am using in my current project Nexus. 

&lt;div id="main-menu"&gt;
&lt;?php
 if (module_exists('i18n_menu')) {
   $main_menu_tree = i18n_menu_translated_tree(variable_get('menu_main_links_source', 'main-menu'));
 }
 else {
   $main_menu_tree = menu_tree(variable_get('menu_main_links_source', 'main-menu'));
}
 print drupal_render($main_menu_tree);
 ?&gt;
&lt;/div&gt;


So i used the following extraction:

&lt;?php
$main_menu_tree = menu_tree(variable_get('menu_main_links_source', 'main-menu'));
print drupal_render($main_menu_tree);
?&gt;


in a views template file for row design. The main menu appeared with content.

Note: The menu which will be rendered might not be themed.