I would like to place the search bar in the main menu on the right. I have seen several people on the net asking for this but never encountered some information I could actually use. I use Drupal 7 and the "Responsive Blog" by Devsaran.
As far as I understand the way to go is inserting some php into the main menu code in the main-menu part in page.tpl. This is what it looks like but I am struggeling with the exact to dos now...
<nav id="navigation" role="navigation">
<div id="main-menu">
<?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);
?>
</div>
</nav>