Fórum

Icon is not displayed on page

thumbnail
Sandeep Nair, modificado 15 Anos atrás.

Icon is not displayed on page

Liferay Legend Postagens: 1744 Data de Entrada: 06/11/08 Postagens 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ć, modificado 14 Anos atrás.

RE: Icon is not displayed on page

New Member Postagens: 3 Data de Entrada: 27/05/09 Postagens 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
thumbnail
Aarti Jain, modificado 14 Anos atrás.

RE: Icon is not displayed on page

Regular Member Postagens: 116 Data de Entrada: 02/09/08 Postagens 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
Bruno Hernan Gallo, modificado 14 Anos atrás.

RE: Icon is not displayed on page

New Member Postagens: 16 Data de Entrada: 27/03/09 Postagens Recentes
It works for me! Thanks!
thumbnail
sorfzhand ~, modificado 12 Anos atrás.

RE: Icon is not displayed on page

New Member Postagens: 10 Data de Entrada: 26/01/10 Postagens Recentes
Excellent! emoticon