留言板

liferay-ui:icon image attribute

thumbnail
onochie ojekwe,修改在10 年前。

liferay-ui:icon image attribute

New Member 帖子: 17 加入日期: 11-4-8 最近的帖子
Hello,
Can anyone help wit a link or probable list of possible values of liferay-ui image attribute?
thumbnail
Nick Piesco,修改在10 年前。

RE: liferay-ui:icon image attribute (答复)

New Member 帖子: 8 加入日期: 12-7-9 最近的帖子
Too many to list here, but the icons live in /[your-theme-name]/images/common/... just browse through, pick the one you want, and use the filename in the '<liferay-ui:icon>' tag. For example:

<liferay-ui:icon image="edit" />

would give you /[your-theme-name]/images/common/edit.png.

Hope this helps!
thumbnail
onochie ojekwe,修改在10 年前。

RE: liferay-ui:icon image attribute

New Member 帖子: 17 加入日期: 11-4-8 最近的帖子
Thanks Nick
thumbnail
Fabian Funkel,修改在9 年前。

RE: liferay-ui:icon image attribute

New Member 帖子: 4 加入日期: 13-3-7 最近的帖子
I'd like to add that you can also use relative paths, like:

<liferay-ui:icon image="../language/en_US" />


Which will display the icon: /[your-theme-name]/images/language/en_US.png

Tested in Liferay 6.1.20 EE.