1. #101
    Ext JS Premium Member
    Join Date
    Mar 2007
    Location
    Germany
    Posts
    678
    Vote Rating
    13
    Dumbledore will become famous soon enough

      0  

    Default


    Quote Originally Posted by xor View Post
    I've added it to the trunk.

    BTW, have you checked - maybe it's enough to simply set startContent to the value of setValue parameter?
    yes i check it, but it won

  2. #102
    Sencha User
    Join Date
    Apr 2007
    Location
    Yaroslavl, Russia
    Posts
    185
    Vote Rating
    0
    xor is on a distinguished road

      0  

    Default


    I've updated the component, grab it here:
    http://blogs.byte-force.com/media/g/...e/default.aspx

    * Fixed issue with [non]inline dialogs when used in onReady().
    * Added isDirty().
    Andrew Mayorov (blog)
    BYTE-force
    We can provide paid remote consultancy on ExtJS or our components.

  3. #103
    Ext User
    Join Date
    May 2008
    Posts
    1
    Vote Rating
    0
    basti is on a distinguished road

      0  

    Question external toolbar

    external toolbar


    hi!

    anyone used the external toolbar feature?

    Code:
    theme_advanced_toolbar_location : "external",

  4. #104
    Ext User
    Join Date
    Oct 2007
    Posts
    10
    Vote Rating
    0
    AVerta is on a distinguished road

      0  

    Default It Works

    It Works


    Hi Dumbledore,

    Thanks for your help. My code works now.

    AVerta

  5. #105
    Ext User
    Join Date
    Dec 2007
    Location
    Ukraine
    Posts
    70
    Vote Rating
    0
    yaroslav is on a distinguished road

      0  

    Default


    Thanks for this great extension!
    I found bug in ИЕ6-7.
    When put on layout 2 editors my IE crashes
    PHP Code:
    items: [{
                    
    xtype"tinymce",
                    
    fieldLabel"Rich text",
                    
    id"richText1",
                    
    name"richText1",
                    
    width600,
                    
    height200,
                    
    tinymceSettings: {
                        
    theme "advanced",
                        ...
                    },
                    
    value"<h1>Demo</h1><p>Ext.ux.TinyMCE works...</p>"
                
    }, {
                    
    xtype"tinymce",
                    
    fieldLabel"Rich text",
                    
    id"richText2",
                    
    name"richText2",
                    
    width600,
                    
    height200,
                    
    tinymceSettings: {
                        
    theme "advanced",
                        ...
                    },
                    
    value"<h1>Demo</h1><p>Ext.ux.TinyMCE works...</p>"
                
    }] 
    Temporaty I removed this from function Ext.ux.TinyMCE > onRender
    PHP Code:
    this.ed.onActivate.addthis.focus.createDelegatethis, [ falsefalse ], false )); 
    How to fix this correctly?
    Sorry for terrible english. My native language is PHP
    my sites:
    http://restime.net/

  6. #106
    Ext JS Premium Member
    Join Date
    Mar 2007
    Location
    Germany
    Posts
    678
    Vote Rating
    13
    Dumbledore will become famous soon enough

      0  

    Default


    is here a css-guru? In my opinion we need a custom style for the TinyMCE Dialog-Buttons. The buttons are so different to the Ext.Buttons and a little bit ugly when rendering inside a Dialog...

  7. #107
    Sencha User
    Join Date
    Apr 2007
    Location
    Yaroslavl, Russia
    Posts
    185
    Vote Rating
    0
    xor is on a distinguished road

      0  

    Default


    Quote Originally Posted by yaroslav View Post
    ...
    Temporaty I removed this from function Ext.ux.TinyMCE > onRender
    PHP Code:
    this.ed.onActivate.addthis.focus.createDelegatethis, [ falsefalse ], false )); 
    How to fix this correctly?
    Yaroslav, let's for now proceed with your solution. Focusing on editor activation anyway was working not very well. And I'm not sure if it's necessary at all.
    Andrew Mayorov (blog)
    BYTE-force
    We can provide paid remote consultancy on ExtJS or our components.

  8. #108
    Sencha User
    Join Date
    Apr 2007
    Location
    Yaroslavl, Russia
    Posts
    185
    Vote Rating
    0
    xor is on a distinguished road

      0  

    Default


    Quote Originally Posted by Dumbledore View Post
    is here a css-guru? In my opinion we need a custom style for the TinyMCE Dialog-Buttons. The buttons are so different to the Ext.Buttons and a little bit ugly when rendering inside a Dialog...
    Dumbletore, nothing really "guruish" is necessary for this. Take o2k7 skin as a base and with help of Firebug twik it. Firebug shows even line in css file where specific class resides. So it's very simple to find things to be modified. Most likely, you'll need only to modify toolbar backgrounds. Dialog also could be modified to be more Ext-like.
    Andrew Mayorov (blog)
    BYTE-force
    We can provide paid remote consultancy on ExtJS or our components.

  9. #109
    Ext User
    Join Date
    Apr 2007
    Posts
    36
    Vote Rating
    0
    Pagebaker is on a distinguished road

      0  

    Default


    First of all, very nice component!

    I've made a small addition to the windowmanager which allows me to add regular panels/grids what ever to the popup window, instead of loading content in an iframe.

    Code:
                open : function( s, p ) {
                    
                    var items = s.items || [{
                        xtype: "iframepanel",
                        defaultSrc: s.url || s.file
                    }];
                    
                    s = s || {};
                    p = p || {};
                    
                    s.width = parseInt(s.width || 320);
                    s.height = parseInt(s.height || 240) + (tinymce.isIE ? 8 : 0);
                    s.min_width = parseInt(s.min_width || 150);
                    s.min_height = parseInt(s.min_height || 100);
                    s.max_width = parseInt(s.max_width || 2000);
                    s.max_height = parseInt(s.max_height || 2000);
                    s.movable = s.resizable = true;
                    p.mce_width = s.width;
                    p.mce_height = s.height;
                    p.mce_inline = true;
    
                    this.features = s;
                    this.params = p;
                            
                    var win = new Ext.Window(
                    {
                        title: s.name,
                        width: s.width,
                        height: s.height,
                        minWidth: s.min_width,
                        minHeight: s.min_height,
                        resizable: true,
                        maximizable: s.maximizable == true,
                        minimizable: s.minimizable == true,
                        modal: true,
                        layout: "fit",
                        items: items
                    });
                    
                    p.mce_window_id = win.getId();
                    
                    win.show( null,
                        function() {
                            if( s.left && s.top ) 
                                win.setPagePosition( s.left, s.top );
                            var pos = win.getPosition();
                            s.left = pos[0];
                            s.top = pos[1];
                            this.onOpen.dispatch( this, s, p );
                        },
                        this
                    );
                    
                    return win;
                },
    Now you can create a window this way
    Code:
                    tinyMCE.activeEditor.windowManager.open({
                        title : 'My File Browser',
                        width : 420,  // Your dimensions may differ - toy around with them!
                        height : 400,
                        resizable : "yes",
                        inline : "yes",  // This parameter only has an effect if you use the inlinepopups plugin!
                        close_previous : "no",
                        items: [
                            new Ext.Panel({
                                field: field_name
                            })
                        ]
                    }, {
                        window : win,
                        input : field_name
                    });

  10. #110
    Sencha User
    Join Date
    Apr 2007
    Location
    Yaroslavl, Russia
    Posts
    185
    Vote Rating
    0
    xor is on a distinguished road

      0  

    Default


    Pagebaker,

    I glad you like this component. Can you explain in more details what are you getting with this scenario? Does it somehow differ from simply creating Ext.Window with your content?
    Andrew Mayorov (blog)
    BYTE-force
    We can provide paid remote consultancy on ExtJS or our components.

Thread Participants: 128

  1. galdaka (1 Post)
  2. Dumbledore (26 Posts)
  3. mystix (1 Post)
  4. dawesi (1 Post)
  5. albeva (7 Posts)
  6. ludoo (1 Post)
  7. bloudon (2 Posts)
  8. MarkB (4 Posts)
  9. Cipher (2 Posts)
  10. Hani (3 Posts)
  11. Pagebaker (2 Posts)
  12. DigitalSkyline (1 Post)
  13. thesilentman (5 Posts)
  14. marcing (1 Post)
  15. mschering (5 Posts)
  16. Konstantin (1 Post)
  17. temporary (1 Post)
  18. tobiu (1 Post)
  19. billeatman (1 Post)
  20. kmiyashiro (2 Posts)
  21. cmendez21 (4 Posts)
  22. 6epcepk (2 Posts)
  23. ZooKeeper (6 Posts)
  24. Yossi (5 Posts)
  25. JNason (4 Posts)
  26. ko0kiE (1 Post)
  27. Fredric Berling (2 Posts)
  28. Dongluan (2 Posts)
  29. w011117 (4 Posts)
  30. cnelissen (5 Posts)
  31. cmarin (2 Posts)
  32. lvanderree (21 Posts)
  33. kavih7 (4 Posts)
  34. hjf1223 (1 Post)
  35. AVerta (2 Posts)
  36. MuratCorlu (1 Post)
  37. vironitronox (1 Post)
  38. saJoshua (1 Post)
  39. Kannabismus (1 Post)
  40. supawat (1 Post)
  41. nikatwork (3 Posts)
  42. scipio (1 Post)
  43. neenhouse (2 Posts)
  44. tfrugia (2 Posts)
  45. asugama (2 Posts)
  46. liuliming (1 Post)
  47. marco76 (1 Post)
  48. yaroslav (1 Post)
  49. dverkade (1 Post)
  50. scottco (1 Post)
  51. broutard (1 Post)
  52. cybertaz (2 Posts)
  53. jwendt@iscinternational.com (1 Post)
  54. kai5263499 (1 Post)
  55. sirioz10 (6 Posts)
  56. jenner (5 Posts)
  57. EMP (1 Post)
  58. joao_candido (2 Posts)
  59. uros (1 Post)
  60. craigharmonic (3 Posts)
  61. serff (1 Post)
  62. vishee (4 Posts)
  63. walldorff (3 Posts)
  64. blow (1 Post)
  65. genius3k (1 Post)
  66. ehask71 (2 Posts)
  67. pauleee (1 Post)
  68. illuminum (1 Post)
  69. basti (1 Post)
  70. Qtx (1 Post)
  71. Cravi (1 Post)
  72. uwolfer (5 Posts)
  73. sseema (1 Post)
  74. alex-t.de (1 Post)
  75. Denny Crane (2 Posts)
  76. lucasmarin (1 Post)
  77. dayext (1 Post)
  78. adamadax (2 Posts)
  79. ben_dog (2 Posts)
  80. paulyb263 (1 Post)
  81. iLoLo21 (2 Posts)
  82. queej (5 Posts)
  83. arnab_ghosh (2 Posts)
  84. vanadium (1 Post)
  85. emmadi (5 Posts)
  86. pablitobs (4 Posts)
  87. mstroeve (2 Posts)
  88. mschwartz (5 Posts)
  89. armagedon (1 Post)
  90. Stju (3 Posts)
  91. elderotaku (1 Post)
  92. ahwin (6 Posts)
  93. lakilevi (2 Posts)
  94. zeos (1 Post)
  95. sergiu079 (1 Post)
  96. Toon (2 Posts)
  97. Jangla (4 Posts)
  98. mjh (3 Posts)
  99. treadmill (3 Posts)
  100. joejernst (2 Posts)
  101. alumb (1 Post)
  102. Aniruddha (1 Post)
  103. hansl1963 (5 Posts)
  104. andynuss (9 Posts)
  105. davidbuzatto (3 Posts)
  106. slsmithtx (2 Posts)
  107. asagala (11 Posts)
  108. juste_millieu (1 Post)
  109. skunk (2 Posts)
  110. mrjoltcola (1 Post)
  111. damo (2 Posts)
  112. ivanatora (3 Posts)
  113. JeanNiBee (2 Posts)
  114. lj2008 (1 Post)
  115. countdown (1 Post)
  116. cstansbury (2 Posts)
  117. Boxcopter (1 Post)
  118. mjbohn (3 Posts)
  119. ajlaluan (1 Post)
  120. Tpona (1 Post)
  121. omerfarooq123 (2 Posts)
  122. sraghavachari (1 Post)
  123. jorgelive (1 Post)
  124. wboard (2 Posts)
  125. wpoosanguansit (1 Post)
  126. DaviPresentia (1 Post)
  127. aa0 (1 Post)
  128. odaihatim (1 Post)