Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
How to change Webcontent "Publish" button name
Hi Team,
I like to do two UI customization in the Webcontent as below,
1. I want to change the Label of the webcontent's Submit button. Currently the Label is "Publish" I like to change it as "Save".
2. I want to show the current timzone in the Webcontent neare the datetime field. So that the user will be aware of what timezone is selected currently.It will be very much helpful if any guidance is provided on how to acheive the above two.I have attached the image which make my requirement more clear.
My Liferay Version: 7.1
I like to do two UI customization in the Webcontent as below,
1. I want to change the Label of the webcontent's Submit button. Currently the Label is "Publish" I like to change it as "Save".
2. I want to show the current timzone in the Webcontent neare the datetime field. So that the user will be aware of what timezone is selected currently.It will be very much helpful if any guidance is provided on how to acheive the above two.I have attached the image which make my requirement more clear.
My Liferay Version: 7.1
Attachments:
Hi ,For override web content save button label ,you can override the language key of journal article module.https://portal.liferay.dev/docs/7-0/tutorials/-/knowledge_base/t/overriding-language-keys#overriding-a-modules-language-keys
Mohammed is spot on with using the language bundle override to change the key.
Be aware, though, that the button you're referring to has two different names:
Publish is for when there is no workflow assigned, and it does mean "publish to the live site".
When workflow is assigned, it says "Submit for publication" which means it is going to be going into the workflow and may or may not get published.
While I understand wanting to call it "Save", in this case it may be better to get your users used to the Liferay publication process in case you eventually want to add workflow support into your processes...
Be aware, though, that the button you're referring to has two different names:
Publish is for when there is no workflow assigned, and it does mean "publish to the live site".
When workflow is assigned, it says "Submit for publication" which means it is going to be going into the workflow and may or may not get published.
While I understand wanting to call it "Save", in this case it may be better to get your users used to the Liferay publication process in case you eventually want to add workflow support into your processes...
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™