Planned maintenance is scheduled for the week of June 15th - the exact date and time will be announced soon.
See More Details
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
RE: Undesired .css search
Ra Jo Ga Cha, módosítva 9 év-val korábban
Junior Member
Bejegyzések: 77
Csatlakozás dátuma: 2017.01.19.
Legújabb bejegyzések
Hi, I'm still trying to port my theme from 6.2 to 7.0 and there's a new problem: Somewhere my theme is searching for .css instead of real .scss files:
14:43:31,686 WARN [http-nio-8080-exec-4][code_jsp:181] {code="404", msg="ProxyServlet: /o/my-theme/css/main.css", uri=/o/my-theme/css/main.css}
14:43:31,688 WARN [http-nio-8080-exec-7][code_jsp:181] {code="404", msg="ProxyServlet: /o/my-theme/css/aui.css", uri=/o/my-theme/css/aui.css}
I'm unable to find where is Liferay generating this paths to .css extended files. Where is this happening?
14:43:31,686 WARN [http-nio-8080-exec-4][code_jsp:181] {code="404", msg="ProxyServlet: /o/my-theme/css/main.css", uri=/o/my-theme/css/main.css}
14:43:31,688 WARN [http-nio-8080-exec-7][code_jsp:181] {code="404", msg="ProxyServlet: /o/my-theme/css/aui.css", uri=/o/my-theme/css/aui.css}
I'm unable to find where is Liferay generating this paths to .css extended files. Where is this happening?
David H Nebinger, módosítva 9 év-val korábban
RE: Undesired .css search
(Válasz)
Liferay Legend
Bejegyzések: 14933
Csatlakozás dátuma: 2006.09.02.
Legújabb bejegyzések
You will never have an SCSS in a theme import. SCSS files need to be transpiled into straight CSS, this occurs during theme build.
Ra Jo Ga Cha, módosítva 9 év-val korábban
Junior Member
Bejegyzések: 77
Csatlakozás dátuma: 2017.01.19.
Legújabb bejegyzések
Then, why is it failing searching for the css files?
Olaf Kock, módosítva 9 év-val korábban
Liferay Legend
Bejegyzések: 6441
Csatlakozás dátuma: 2008.09.23.
Legújabb bejegyzések
Ra Jo Ga Cha:
Then, why is it failing searching for the css files?
Does your theme contain those files? How are you migrating your theme from 6.2 to 7.0? By deploying the old theme? Did you change something?
Ra Jo Ga Cha, módosítva 9 év-val korábban
Junior Member
Bejegyzések: 77
Csatlakozás dátuma: 2017.01.19.
Legújabb bejegyzések
First step was upgrading theme by upgrade tool given with the Liferay 7 Eclipse IDE. This wasn't enough so then I updated it again using the import tool of the themes generator. Next steps are "translating" manually vm templates to ftl. The only problematic part that I skipped commenting it, prior to make styles work, are bottom.jsp, body_bottom.jsp, etc references because I didn't find easy to solve it so I just delayed that part, but now I'm doubting if they're the files mandated to make this styles work.
The files are into the .war, .scss extended.
Edit: The errors about the bottom are that they're just "not found". They're called this way.
Avoided this issues creating a new Liferay 7 theme from the ashes (and Liferay 7's classic theme).
The files are into the .war, .scss extended.
Edit: The errors about the bottom are that they're just "not found". They're called this way.
Avoided this issues creating a new Liferay 7 theme from the ashes (and Liferay 7's classic theme).
Siniša Šehović, módosítva 7 év-val korábban
New Member
Bejegyzések: 7
Csatlakozás dátuma: 2009.07.25.
Legújabb bejegyzések
Hi,
have you tried using gulp to update your theme by executing gulp upgrade?
S.
Community
Company
Feedback