Fórum

Buiding vertical navigation with three column layout problem

Rahul Brid, modificado 11 Anos atrás.

Buiding vertical navigation with three column layout problem

New Member Mensagem: 1 Data de Entrada: 19/07/12 Postagens Recentes
Hi,

We are trying to build custom vertical navigation menu with three column layout. Problem we were facing was how to get the navigation section inside first column of my layout. as we were not able to access the nav items inside the tpl file of our custom layout(which is used as velocity variables inside themes navigation.vm).
We tried figuring out this but could not get the solution.
So decide to take up the following approach.
we removed navigation form header. created the separate div for navigation. and content will be two column layout with altogether in diff div
i.e
<div>---Main content inside wrapper
<header>
</header>
<div id="navsection" style="width:20%; float:left;">
#if ($has_navigation || $is_signed_in)
#parse ("$full_templates_path/navigation.vm")
#end
</div>
<div id="content" style="width:80%; float:left;">
#if ($selectable)
$theme.include($content_include)
#else
$portletDisplay.recycle()

$portletDisplay.setTitle($the_title)

$theme.wrapPortlet("portlet.vm", $content_include)
#end
</div>
</div> -

and stylized my navigation for vertical look and feel. this approach looks good until we came to know that we need to drop the portlets inside navigation container. with some part of the nav container (navsection) in first div for navigation menus and some part to drop portlets.

But as we have created above structure it seems impossible to do that.
Please help us if anyone knows either how to get the menu items inside layout or make any div outside layout just like above navsection PORTLET DROPPABLE

Thanks In advance