掲示板
Override add button from Asset Publisher portlet
8年前 に Pierre-François Fiat によって更新されました。
Override add button from Asset Publisher portlet
New Member 投稿: 11 参加年月日: 14/07/25 最新の投稿
Hello,
I would like to know if it is possible to override the Add button from the Asset Publisher portlet to change the content, for exemple instead of
Is it possible? If it is possible, can you explain me how to do it?
Thank you and have a nice week-end
PF
I would like to know if it is possible to override the Add button from the Asset Publisher portlet to change the content, for exemple instead of
Add <name of the web content structure >get
Overrided button add <name of the web content structure>The button can be find in : Asset Publisher > Configuration > Display Settings > checkbox - Show Add Content Button.
Is it possible? If it is possible, can you explain me how to do it?
Thank you and have a nice week-end
PF
8年前 に Jan Geißler によって更新されました。
RE: Override add button from Asset Publisher portlet
Liferay Master 投稿: 735 参加年月日: 11/07/05 最新の投稿
What do you mean by override? I am not quite certain of what you mean....
8年前 に Pierre-François Fiat によって更新されました。
RE: Override add button from Asset Publisher portlet
New Member 投稿: 11 参加年月日: 14/07/25 最新の投稿
Hi Jan,
Thanks for the quick reply
I would like to change the content that is displayed by the button
For exemple
image link
To change {icon} Add Web Content Atricle by something else.
Thanks for the quick reply
I would like to change the content that is displayed by the button
For exemple
image link
To change {icon} Add Web Content Atricle by something else.
8年前 に Jan Geißler によって更新されました。
RE: Override add button from Asset Publisher portlet
Liferay Master 投稿: 735 参加年月日: 11/07/05 最新の投稿
Ahhh. You rather want to change the translation, not the button itself. Right? You can do this easily with a hook, which overrides the language.properties file.
8年前 に Pierre-François Fiat によって更新されました。
RE: Override add button from Asset Publisher portlet
New Member 投稿: 11 参加年月日: 14/07/25 最新の投稿
Yes, hook language could be a possibility but it will override all the portlets of the portal. I would prefer to change only this button.
Any idea?
Any idea?
8年前 に Jan Geißler によって更新されました。
RE: Override add button from Asset Publisher portlet
Liferay Master 投稿: 735 参加年月日: 11/07/05 最新の投稿
Change the key to a unique one and translate this one?