掲示板
Override Footer
Hi everyone!
I need to override footer in Liferay dxp, blue box where "Powered By Liferay" is displayed.
I was thinking that I can create fragment and override is but I could not find appropriate host OSGI bundle.
I checked the theme, but could not find it either.
Can anyone help me with that?
Thanks in advance!
I need to override footer in Liferay dxp, blue box where "Powered By Liferay" is displayed.
I was thinking that I can create fragment and override is but I could not find appropriate host OSGI bundle.
I checked the theme, but could not find it either.
Can anyone help me with that?
Thanks in advance!
It's indeed in your theme and you should change it there.
How to tell? Download Sourcecode, then
With this knowledge, do
Assuming you have your own theme: Make sure that this line is not in your theme's portal_normal.* file. If you don't have your own theme: Create one, if only to make this change in a maintainable way.
How to tell? Download Sourcecode, then
grep -r "Powered by" srcdirectory
This reveals a hit in Language.properties powered-by=Powered by
With this knowledge, do
grep -r powered-by srcdirectory | grep -v Language
(to eliminate all the Language*.properties hits, where it's translated into other languages) and you'll find some hits in the classic theme's portal_normal.vm and portal_normal.ftlAssuming you have your own theme: Make sure that this line is not in your theme's portal_normal.* file. If you don't have your own theme: Create one, if only to make this change in a maintainable way.
Hello Olaf!
I have created my custom theme and and found all occurrences of footer in templates (in node_modules\liferay-frontend-theme-unstyled\templates\portal_normal.ftl and ***.vm and node_modules\liferay-frontend-theme-classic-web\templates\portal_normal.ftl).
After I deployed it and applied the theme to the page it worked!!!
Thanks!
I have created my custom theme and and found all occurrences of footer in templates (in node_modules\liferay-frontend-theme-unstyled\templates\portal_normal.ftl and ***.vm and node_modules\liferay-frontend-theme-classic-web\templates\portal_normal.ftl).
After I deployed it and applied the theme to the page it worked!!!
Thanks!