Results 1 to 2 of 2

Thread: Override own component by theme

  1. #1
    Sencha Premium Member
    Join Date
    Jun 2012

    Question Override own component by theme

    Hi there,

    is there a way to override my own component put in /app/view/<my-folder>/<my-folder2>/MyComponent.js through a theme packages?

    Following i already tried and not working for me by putting the MyComponent.js into:

    • /ext5/packages/my-theme/overrides/<my-folder>/<my-folder2>/MyComponent.js
    • /ext5/packages/my-theme/overrides/view/<my-folder>/<my-folder2>/MyComponent.js
    • /ext5/packages/my-theme/overrides/<AppName>/view/<my-folder>/<my-folder2>/MyComponent.js
    • /ext5/packages/my-theme/overrides/<AppName>/<my-folder>/<my-folder2>/MyComponent.js

    The MyComponent.js within the overrides folder starts with:

    PHP Code:
    Ext.define('AppName.view.<my-folder>.<my-folder2>.MyComponentOverride', {
    The MyComponent is set into "requires" within Application.js

    So what iam doing wrong or is this feature limited to extjs base components only?

    Thanks for any hint,

  2. #2
    Sencha Premium Member
    Join Date
    Jun 2012


    So, this is not possible? Here is the link to the docs if anyone needs further information:

Similar Threads

  1. Replies: 2
    Last Post: 22 Jan 2015, 12:51 PM
  2. Replies: 1
    Last Post: 23 Aug 2013, 8:40 PM
  3. Replies: 1
    Last Post: 24 May 2013, 9:39 AM
  4. [FIXED] Custom theme images do not override default images
    By skrooks in forum Sencha Cmd
    Replies: 1
    Last Post: 4 Apr 2013, 5:14 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts