View Full Version : Problem with custom theme image directory

8 May 2012, 7:31 AM

i want to change the directory where my icons are located from the default (appname/extjs/resources/images/THEMENAME) to a custom folder (appname/resources/images/THEMENAME).

There seems to be a Bug which is explained here: http://dev.sencha.com/deploy/ext-4.1.0-gpl/docs/index.html#!/guide/theming (http://dev.sencha.com/deploy/ext-4.1.0-gpl/docs/index.html#%21/guide/theming) which tells me to replace code in appname/extjs/resources/themes/lib/utils.rb line 62

But even after applying the described workaround it still doesn't work.

Now it uses the path appname/resources/images (missing the theme name).

Am I correct to just write "image_path = File.join(images_path, theme, path)" in line 63?

Is this a bug or is it my fault?

If my fault, where did I go wrong?

Thanks in advance, CptS.

29 Jun 2012, 3:47 AM
It isn't your fault.

If you have:

images_path = relative_path

It will look under

If you have:

image_path = File.join(relative_path, theme, path)

It will look under appname/resources/default (or whatever ou theme name is instead of default)

26 Aug 2012, 10:36 PM
are there any news about this?

Is this already accepted as bug?