Foros de discusión
Icon is not displayed on page
Sandeep Nair, modificado hace 15 años.
Icon is not displayed on page
Liferay Legend Mensajes: 1744 Fecha de incorporación: 6/11/08 Mensajes recientes
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
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 hace 14 años.
RE: Icon is not displayed on page
New Member Mensajes: 3 Fecha de incorporación: 27/05/09 Mensajes recientes
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
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, modificado hace 14 años.
RE: Icon is not displayed on page
Regular Member Mensajes: 116 Fecha de incorporación: 2/09/08 Mensajes recientes
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
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 hace 14 años.
RE: Icon is not displayed on page
New Member Mensajes: 16 Fecha de incorporación: 27/03/09 Mensajes recientes
It works for me! Thanks!
sorfzhand ~, modificado hace 12 años.
RE: Icon is not displayed on page
New Member Mensajes: 10 Fecha de incorporación: 26/01/10 Mensajes recientes
Excellent!