Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
sergio Fernandez
picture on the menu
April 23, 2010 1:12 AM
Answer

sergio Fernandez

Rank: New Member

Posts: 19

Join Date: April 13, 2010

Recent Posts

I would like to know how to put a small image in the submenus of Liferay something like
this:

There is an option to add icon in managing pages, but when I select the icon only shows me the menu when I put it in a submenus appears someone I could say another solution.

Thank you.
Greetings
Man V K
RE: picture on the menu
April 23, 2010 1:50 AM
Answer

Man V K

Rank: Regular Member

Posts: 139

Join Date: December 4, 2007

Recent Posts

Hi,

Have your tried to modify your portal-noramal.vm and include a custom menu ?

#include("$full_templates_path/menu.jsp")

try this and inside put your menu and images.

Ciao
Man.
sergio Fernandez
RE: picture on the menu
April 23, 2010 2:32 AM
Answer

sergio Fernandez

Rank: New Member

Posts: 19

Join Date: April 13, 2010

Recent Posts

Hi
Man Thanks for the help but I solved by changing the navigation.vm putting this file:

1  <li class="$nav_child_class">
2           <a href="$nav_child.getURL()" $nav_child.getTarget()>
3           <span>$nav_child.icon() $nav_child.getName()</span></a>
4    </li>


Thanks anyway.

Greetings
Sergio