-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 6.2.X EE, 7.0.0 M3
-
Fix Version/s: 6.2.2 CE GA3 , 6.2.X EE, 7.0.0 M1
-
Component/s: Liferay Themes, Themes Infrastructure > Layout Templates
-
Labels:
-
Branch Version/s:6.2.x
-
Backported to Branch:Committed
-
Story Points:5
-
Git Pull Request:
when deploying a layout plugin with a portlet embedded, the CSS is not included in the header of the page. Thus the portlet is not displaying correctly.
steps to reproduce
1. deploy the attached portlet and layout plugin
2. in welcome page add the tmpstatic portlet and notice the background is red
3. inspect element of the page and notice the staticmain.css is loaded in the header
4. remove the portlet
5. go to control panel, pages and configure the welcome page to use tmpstatic layout
6. go back to page and see portlet
expected result
portlet has red background and staticmain.css file is loaded into header
actual result
portlet's background is not changed and the staticmain.css is not loaded into header
reproduced in
master and 6.2.x
- causes
-
LPS-52614 When using custom themes with embedded custom portlets the JS objects are called twice
- Closed
-
LPS-62472 Portlet JavaScript/CSS is added twice to the page for embedded portlet from a layout template.
- Closed
- relates
-
LPE-12425 CSS and JS not loaded when a portlet is embedded in a layout plugin
-
- Closed
-