As there are several ways of changing a Liferay DXP/7 site's logo, I wanted to ask which one is the "best" way, conventional way.
The ways I currently have knowledge about are:
- Changing through Public Pages' Look and Feel options menu
- Changing through custom theme by:
- Directly referring to its path in portal-normal header's
<img>tag - Set a custom variable to contain it's path as text
- Directly referring to its path in portal-normal header's
Are there other, "better" ways or these summarize all? Out of all, which is the conventional way?
31 Answer
Actually it depends on requirement.
In my opinion if you have logo in image form, you should upload here:
Public/private Pages> configuration > Look & Feel > Logo
You should use custom field or look & feel custom field only if you have specific requirement. Otherwise it's best.
FYI: using logo from theme portal-normal.ftl is not a good idea, as it will not allow user to upload it's logo self. As liferay is a CMS, user should have right to do so.