1. #1
    Sencha Premium Member CptS's Avatar
    Join Date
    May 2012
    Location
    Germany
    Posts
    38
    Vote Rating
    2
    CptS is on a distinguished road

      0  

    Default Unanswered: Problem with custom theme image directory

    Unanswered: Problem with custom theme image directory


    Hi,

    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 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.

  2. #2
    Sencha User Izhaki's Avatar
    Join Date
    Apr 2009
    Location
    London
    Posts
    118
    Answers
    7
    Vote Rating
    13
    Izhaki will become famous soon enough

      0  

    Default


    It isn't your fault.

    If you have:

    Code:
    images_path = relative_path
    It will look under
    appname/resources/images

    If you have:

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


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

  3. #3
    Sencha Premium Member CptS's Avatar
    Join Date
    May 2012
    Location
    Germany
    Posts
    38
    Vote Rating
    2
    CptS is on a distinguished road

      0  

    Default


    Hi,
    are there any news about this?

    Is this already accepted as bug?

Thread Participants: 1

Tags for this Thread