PDA

View Full Version : Themes problem



dkmorb
30 Aug 2009, 11:44 AM
Hi all,
I need to use Themeselector to update the theme in my application. So, I dowloaded and added theme jar files founded in this forum to classpath. But nothing happens when I change the theme in the selector. I notice a problem in hosted mode [WARN] 404 - GET /*.css, probably because it can't find the css file.
Can someone tell me why?

Thanks in advance!

Arno.Nyhm
31 Aug 2009, 3:43 AM
did you do all the settings?
http://extjs.com/forum/showthread.php?p=224209#post224209

dkmorb
31 Aug 2009, 6:54 AM
Yes,
I made all the settings in that post: the Themeselector are full of themes and when I change the the theme something happens, but it return to default bacause the application doesn't catch the css file.

:(

Krystal
3 Sep 2009, 8:54 PM
Hey dk,

Have you solve this problem?

I was also experiencing same problem as you are. Can you please share your found solution if you have solved this problem?

Thanks so much.




Emo Quiz (http://emoquiz.net)

dkmorb
4 Sep 2009, 12:12 AM
Hey dk,

Have you solve this problem?

I was also experiencing same problem as you are. Can you please share your found solution if you have solved this problem?

Thanks so much.




Emo Quiz (http://emoquiz.net)

Sorry Krystal,
i'm investigating but i don't found any solution. I'm desperate :((. Probably in html we must add some reference to *.css file in the style, but in that famous post I don't see nothing about my idea.

cbonami
13 Nov 2009, 3:03 PM
You need to do 2 additional things. For example, in order to include the 'slickness' theme:

1) Copy the content of the 'public' folder of you theme-jar to ${war-root}/resources/themes/slickness

2) Add the corresponding css to your main html:

<link rel="stylesheet" type="text/css" href="resources/themes/slickness/css/xtheme-slickness.css" />

Then changing theme works.