Fóruns

Início » Liferay Portal » English » 2. Using Liferay » General

Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
toggle
Sandeep Nair
Icon is not displayed on page
18 de Fevereiro de 2009 23:20
Resposta

Sandeep Nair

Ranking: Liferay Legend

Mensagens: 1692

Data de entrada: 5 de Novembro de 2008

Mensagens recentes

Hi,

Select Manage page.

Upload any icon(.jpg or .bmp or .png file).
Click on Save button.
File is uploaded and displayed on Manage page and by default after uploading icon the use icon checkbox is enabled.
Click on the page for which icon is upload.
Actual Result: Icon is not displayed on that page.
Expected Result: Icon should be displayed on private page.

Any solutions?

Liferay Ver: 5.1.2

Regards,
Sandeep
Bojan Vučinić
RE: Icon is not displayed on page
11 de Junho de 2009 06:39
Resposta

Bojan Vučinić

Ranking: New Member

Mensagens: 3

Data de entrada: 27 de Maio de 2009

Mensagens recentes

I can confirm the same problem, i.e. cannot set icon.
Moreover, when I want to assign an icon I get "Community page not available" and when I return to the page nothing is displayed in the icon field.

liferay 5.2.3

Best,
Bojan
Aarti Jain
RE: Icon is not displayed on page
11 de Junho de 2009 12:05
Resposta

Aarti Jain

Ranking: Regular Member

Mensagens: 116

Data de entrada: 2 de Setembro de 2008

Mensagens recentes

Hi,

In navigation.vm file replace the code:

<a href="$nav_item.getURL()" $nav_item.getTarget()><span>$nav_item.getName()</span></a>

with

<a href="$nav_item.getURL()" $nav_item.getTarget()><span>$nav_item.icon() $nav_item.getName()</span></a>

Then the icon will be displayed along with the page name.

You can use $nav_item.icon() inside your navigation.vm of your theme.

Regards,
Aarti
Bruce Galo
RE: Icon is not displayed on page
13 de Junho de 2009 11:10
Resposta

Bruce Galo

Ranking: New Member

Mensagens: 16

Data de entrada: 27 de Março de 2009

Mensagens recentes

It works for me! Thanks!
sorfzhand ~
RE: Icon is not displayed on page
16 de Agosto de 2011 21:00
Resposta

sorfzhand ~

Ranking: New Member

Mensagens: 10

Data de entrada: 25 de Janeiro de 2010

Mensagens recentes

Excellent! emoticon