Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
toggle
Bellefqih Mohammed
css theme not applied when adding new site
7. August 2012 06:04
Antwort

Bellefqih Mohammed

Rang: New Member

Nachrichten: 6

Eintrittsdatum: 7. August 2012

Neue Beiträge

Hi guys

i'm using liferay 6.1.1 with tomcat . when i add a new organisation and i add a page to the publics pages, the theme is not applied ! , and i got a white page with elements

screenshot here: snag


and thanks for your help
Tejas Kanani
RE: css theme not applied when adding new site
7. August 2012 06:13
Antwort

Tejas Kanani

Rang: Liferay Master

Nachrichten: 653

Eintrittsdatum: 6. Januar 2009

Neue Beiträge

Which theme you've applied ? Liferay OOTB theme or your custom made ?
Bellefqih Mohammed
RE: css theme not applied when adding new site
7. August 2012 06:36
Antwort

Bellefqih Mohammed

Rang: New Member

Nachrichten: 6

Eintrittsdatum: 7. August 2012

Neue Beiträge

Liferay classic theme
Tejas Kanani
RE: css theme not applied when adding new site
7. August 2012 06:49
Antwort

Tejas Kanani

Rang: Liferay Master

Nachrichten: 653

Eintrittsdatum: 6. Januar 2009

Neue Beiträge

Are you getting any error in backhand ? Also clear cache of you browser and try with different browser as well.

If still facing the issue try once by
- shut down server
- delete temp & work from tomcat folder
- restart the server
- verify now.
Bellefqih Mohammed
RE: css theme not applied when adding new site
7. August 2012 07:10
Antwort

Bellefqih Mohammed

Rang: New Member

Nachrichten: 6

Eintrittsdatum: 7. August 2012

Neue Beiträge

hi Tehas,

i have done all the steps you listed but i still got the same behavior.


and thanks
Bellefqih Mohammed
RE: css theme not applied when adding new site
7. August 2012 07:41
Antwort

Bellefqih Mohammed

Rang: New Member

Nachrichten: 6

Eintrittsdatum: 7. August 2012

Neue Beiträge

Hi,

i just installed the liferay 6.1.0 with tomcat , and i create new organisation and page , and it's running smothly;

i think that there is an issue with the 6.1.1


and thanks.
Tejas Kanani
RE: css theme not applied when adding new site
7. August 2012 09:14
Antwort

Tejas Kanani

Rang: Liferay Master

Nachrichten: 653

Eintrittsdatum: 6. Januar 2009

Neue Beiträge

I've checked the same in my 6.1.1 GA2 instance by creating organization and created public page.
And it worked fine for me with out any theme issue.
Did you make any changes in your 6.1.1 instance or its vanilla liferay ?
Bellefqih Mohammed
RE: css theme not applied when adding new site
9. August 2012 02:41
Antwort

Bellefqih Mohammed

Rang: New Member

Nachrichten: 6

Eintrittsdatum: 7. August 2012

Neue Beiträge

Hi Tejas,

sorry for the late answer, nop i used the standart 6.1.1 instance , i just configured a postgres connection with it.
Miguel Ángel Júlvez
RE: css theme not applied when adding new site
9. August 2012 03:21
Antwort

Miguel Ángel Júlvez

Rang: Junior Member

Nachrichten: 56

Eintrittsdatum: 29. März 2011

Neue Beiträge

Yes, something is wrong. custom.css is not readed in a custom theme (however, images does) on liferay 6.1.1 GA2

I can see in html source code this

<link href="&#x2f;html&#x2f;css&#x2f;main&#x2e;css&#x3f;browserId&#x3d;other&#x26;themeId&#x3d;projectliferaythemeshometheme_WAR_hometheme&#x26;minifierType&#x3d;css&#x26;languageId&#x3d;es_ES&#x26;b&#x3d;6101&#x26;t&#x3d;1333360784000" rel="stylesheet" type="text/css" />

Any css filter or something?




Bellefqih Mohammed:
Hi Tejas,

sorry for the late answer, nop i used the standart 6.1.1 instance , i just configured a postgres connection with it.
Miguel Ángel Júlvez
RE: css theme not applied when adding new site
9. August 2012 03:52
Antwort

Miguel Ángel Júlvez

Rang: Junior Member

Nachrichten: 56

Eintrittsdatum: 29. März 2011

Neue Beiträge

I've released Liferay always return custom.css of classic theme (my theme is builted with classic parent theme) , even when I write the next url in my browser http://dev.liferay.mydomain.com/<theme context>/css.custom.css!!!

I've copied portal-developer.properties to my portal-ext.properties and now It's working!! I guess It's a cache problem or something similar