掲示板
RE: Set default portlet in Dashboard
10年前 に Tejas Kanani によって更新されました。
RE: Set default portlet in Dashboard
Liferay Master 投稿: 654 参加年月日: 09/01/06 最新の投稿
Which version of Liferay you are referring/using here ? 6.2 ?
You want your portlet to be placed when user access their private page ?
Check below portal properties you can specify in portal-ext.properties. In this whichever column you want your portlet to be placed, just specify your portlet in respective property value.
Thanks,
Tejas Kanani
I want to set my portlet as default when user accesses Dashboard.
You want your portlet to be placed when user access their private page ?
Check below portal properties you can specify in portal-ext.properties. In this whichever column you want your portlet to be placed, just specify your portlet in respective property value.
#
# Set the portlet ids for the columns specified in the layout template.
#
default.user.private.layout.column-1=82,23,11
default.user.private.layout.column-2=29
default.user.private.layout.column-3=
default.user.private.layout.column-4=
Thanks,
Tejas Kanani
10年前 に Tejas Kanani によって更新されました。
RE: Set default portlet in Dashboard
Liferay Master 投稿: 654 参加年月日: 09/01/06 最新の投稿
Set below property in your portal-ext.properties and restart the server
your portlet name you can get from "<portlet-name>" in your portlet's liferay-portlet.xml.
By doing this, it will put your portlet in each user's private page(dashboard) 2nd column.
It will not change the existing user's page and only reflects to new user which you'll create after this changes.
Hope this helps.
Thanks,
Tejas
default.user.private.layout.column-2=<your portlet name></your>
your portlet name you can get from "<portlet-name>" in your portlet's liferay-portlet.xml.
By doing this, it will put your portlet in each user's private page(dashboard) 2nd column.
It will not change the existing user's page and only reflects to new user which you'll create after this changes.
Hope this helps.
Thanks,
Tejas
9年前 に mahdy ksila によって更新されました。
RE: Set default portlet in Dashboard
New Member 投稿: 1 参加年月日: 14/02/12 最新の投稿
thank you Tejas Kanani for this détails.
but i have two questions
Q1: i wrote this properties in the portal-ext.properties:
default.user.layout.template.id=1_column
default.user.private.layout.column-1=dynamicHeader
default.user.private.layout.column-2=
then i restart the server. I found that liferay detected the dynamicHeader portlet but it did not display his rendering correctly . why ?
Q2: for which reason liferay applies change only with the new users? is there a solution witch make chagements affect all existing users?
thank you very much
but i have two questions
Q1: i wrote this properties in the portal-ext.properties:
default.user.layout.template.id=1_column
default.user.private.layout.column-1=dynamicHeader
default.user.private.layout.column-2=
then i restart the server. I found that liferay detected the dynamicHeader portlet but it did not display his rendering correctly . why ?
Q2: for which reason liferay applies change only with the new users? is there a solution witch make chagements affect all existing users?
thank you very much
添付ファイル: