|Alex Filippovich||:||Liferat 5.2 + _diffs + css not load |
I have LifeRay 5.2 on Glassfish.
I create theme with Pludins SDK.
So i have problem. No one of CSS files doesn't
load (js files is okay)
Tell me please where is my problem?
|Mazhar Anwar||:||RE : Liferat 5.2 + _diffs + css not load |
When you deploy theme to server, Please check its path.
Folder structure in server should be /operator-evolution-theme-theme/
css/*.css files.(It should not have _diffs folder and all)
And check your main.css, does it includes all other css files in that.
|Alex Filippovich||:||i try create new clean theme for testing. |
1. create theme with sdk.
2. i build.xml i edit:
So, if i understand correctly, it should be just copy of Classic Theme.
3. Buld war file
4. Uploding WAR file to liferay via Upload File
5. Go to the Manage Pages -> Choise page -> Look and
Feel -> choise my Test Theme
6. Go to the test page - no styles
In Firebag next:
By the way, in portal-ext.properties i have:
|Mazhar Anwar||:||How are you generating .war file? |
Can you please unzip your WAR and make sure the folder
structure as follows, (It should not have docroot too.)
|Alex Filippovich||:||Yes, everething is fine. |
You can see that everething is okay in attached file.
But when i upload theme to the liferay andchoise it i see next:
|Mazhar Anwar||:||Hi Alex, |
It seems new theme is not getting parent CSS which you have set as classic in build.xml.
Simple solution is just copy the css folder from your SERVER_ROOT/
html/themes/classic/_diffs/css and paste it inside _diffs folder of new theme.
It will fix the problem.
|Alex Filippovich||:||Hi Mazhar Anwar, |
i copy files and run build again. upload WAR file to liferay, but nothing to change.
LifeRay loading only one CSS file with styles of ".uni-form".
WAR file in attach.
|Gowtham Mani||:||Hi Alex, |
I tried deploying your war file into my liferay server and it is working fine,
all the css are loading fine.
|Mazhar Anwar||:||Hey Alex, |
Your attached .war file is working perfectly for me
I am able to see all the changes.
Can you please clear browser cache and servers temporary files?
|Alex Filippovich||:||Gowtham Mani, Mazhar Anwar |
You was right.
I install clean liferay+tomcat local and upload theme - everething is okay.
it seems that that something wrong with glassfish server
thanks all of you for help!!!