留言板
navigation bar
Hello!
I'm using Liferay 4.3.0 and want to remove the navigation bar (the page selection - here: home, products, services, ...).
I'm using the brochure theme and found the flag: $has_navigation in the portal_normal.vm velocity template.
How do I set/toggle this flag, so that I won't need to change that code?
Thanks for the help!
I'm using Liferay 4.3.0 and want to remove the navigation bar (the page selection - here: home, products, services, ...).
I'm using the brochure theme and found the flag: $has_navigation in the portal_normal.vm velocity template.
How do I set/toggle this flag, so that I won't need to change that code?
Thanks for the help!
Hello Thomas K
$has_navigation is a calculated field see file "_unstyled\templates\init.vm.
you will find:
## ---------- Navigation ---------- ##
#if ( $navItems )
#set ( $nav_items = $navItems )
#set ( $has_navigation = ($nav_items && $nav_items.size() > 0) )
#end
$has_navigation is a calculated field see file "_unstyled\templates\init.vm.
you will find:
## ---------- Navigation ---------- ##
#if ( $navItems )
#set ( $nav_items = $navItems )
#set ( $has_navigation = ($nav_items && $nav_items.size() > 0) )
#end
Jack A. Rider:
Hello Thomas K
$has_navigation is a calculated field see file "_unstyled\templates\init.vm.
you will find:
## ---------- Navigation ---------- ##
#if ( $navItems )
#set ( $nav_items = $navItems )
#set ( $has_navigation = ($nav_items && $nav_items.size() > 0) )
#end
if i want to add my own navigation which is have selected feature. here my code
#if ($topNav)
#set ($topNav = $topNav)
#set ($ade_topNav = ($topNav && $topNav.size() > 0))
#end
#if ($topNav.isSelected())
#set ($topNav_class = "selected")
#else
#set ($topNav_class = "")
#end
<a class="$topNav_class" href="/web/guest/4">contact us</a> | <a class="$topNav_class" href="/web/guest/5">sitemap</a>
it's not working. did miss something? please help.
hi everyone
i need to create a navigation bar on the page, my page consist of a category navigation and a asset publisher on it when the user click on any of the web content in asset publisher it should show which category that below to .
for eg : if Article Name web content is click then on the navigation bar it should show
Home > Page Name > Category name > Article Name
i try to see the code for navigation bar since the asset publisher and category navigation are to different portlet it show just either category name or article name
if any body have any idea then pls help.
thanks in advance.
Sandeep
i need to create a navigation bar on the page, my page consist of a category navigation and a asset publisher on it when the user click on any of the web content in asset publisher it should show which category that below to .
for eg : if Article Name web content is click then on the navigation bar it should show
Home > Page Name > Category name > Article Name
i try to see the code for navigation bar since the asset publisher and category navigation are to different portlet it show just either category name or article name
if any body have any idea then pls help.
thanks in advance.
Sandeep