Issue
- Is there a way to set different favicons on different sites on the same Liferay instance?
Environment
- Liferay Portal 6.2
- Liferay DXP 7.0+
Resolution
-
The easiest, supported and recommended approach would be to create one theme for each site and then apply it to the pages of that site only.
-
For a more complex approach, you can refer to this blog post as a starting point: Overriding the Favicon in DXP. In that case, the code that the developer shared shall be readapted in a way that runs conditionally when navigating to a certain URL path.
Additional Information
- New Feature request on Jira: LPS-126210
- Liferay Forums: Need separate favicon for different site
Contenido exclusivo para suscriptores.
Una Suscripción Enterprise de Liferay proporciona acceso a más de 1.500 artículos que incluyen las mejores practicas, diagnóstico de problemas y otras soluciones útiles. Inicia sesión para tener un acceso completo.
Inicia sesión