1. #11
    Ext User
    Join Date
    Jun 2007
    Posts
    11
    Vote Rating
    0
    jguru is on a distinguished road

      0  

    Default


    I am getting an error:Ext.reg is not a function -- Ext.reg('codepress', Ext.ux.CodePress); line 245

  2. #12
    Sencha User steffenk's Avatar
    Join Date
    Jul 2007
    Location
    Haan, Germany
    Posts
    2,663
    Vote Rating
    6
    steffenk has a spectacular aura about steffenk has a spectacular aura about steffenk has a spectacular aura about

      0  

    Default


    first - thx for this, i need that atm and i'm happy to use it this way.

    I have a strange effect by scrolling, look to the screenshot.
    Attached Images
    vg Steffen
    --------------------------------------
    Release Manager of TYPO3 4.5

  3. #13
    Ext User DigitalSkyline's Avatar
    Join Date
    Apr 2007
    Location
    Rochester, MI
    Posts
    461
    Vote Rating
    1
    DigitalSkyline is on a distinguished road

      0  

    Default


    Not sure which is better, but if you've never come across it:
    http://www.cdolivet.net/editarea/edi...mple_full.html

    Has a bit more to it then codepress, goto line, search, and the line numbers aren't a image. Anyways -- I'm undecided. If codepress could get away from using the image for line numbers I'd like it more, I think its a better performing engine.

  4. #14
    Sencha User steffenk's Avatar
    Join Date
    Jul 2007
    Location
    Haan, Germany
    Posts
    2,663
    Vote Rating
    6
    steffenk has a spectacular aura about steffenk has a spectacular aura about steffenk has a spectacular aura about

      0  

    Default


    I get errors with the extension.
    when i only include the Ext.ux.codepress.js, i get
    Ext.reg has no properties
    Ext.reg('codepress', Ext.ux.CodePress);

    when i remove that line i get next error after
    PHP Code:
    var codeHTML=new Ext.ux.CodePress({
                
    id'docadminTemplateEditor'
                
    element'ext_html_example'
                
    language'html'
                
    autoResizetrue
            
    }); 
    Error:
    this.editor has no properties
    [Break on this error] this.editor.body = this.doc.getElementsByTagName('body')[0];
    vg Steffen
    --------------------------------------
    Release Manager of TYPO3 4.5

  5. #15
    Ext User
    Join Date
    Aug 2007
    Posts
    11
    Vote Rating
    0
    FreeGroup is on a distinguished road

      0  

    Default


    Hi

    I have the same problem. Any solution?!

    greetings

    Andreas

  6. #16
    Ext User
    Join Date
    Aug 2007
    Posts
    11
    Vote Rating
    0
    FreeGroup is on a distinguished road

      0  

    Default


    additional I have the save scrolling problem (horizontal lines)

    :-(

  7. #17
    Ext User
    Join Date
    May 2007
    Posts
    77
    Vote Rating
    0
    antimatter15 is on a distinguished road

      0  

    Default


    Quote Originally Posted by FreeGroup View Post
    additional I have the save scrolling problem (horizontal lines)

    :-(
    I think that's pretty common. I sometimes see that bizzare phenomenon on SMF forums...

  8. #18
    Sencha User steffenk's Avatar
    Join Date
    Jul 2007
    Location
    Haan, Germany
    Posts
    2,663
    Vote Rating
    6
    steffenk has a spectacular aura about steffenk has a spectacular aura about steffenk has a spectacular aura about

      0  

    Default


    yes, it's also in the demo.

    i stopped investigating atm and look for another solution.
    vg Steffen
    --------------------------------------
    Release Manager of TYPO3 4.5

  9. #19
    Sencha User
    Join Date
    Aug 2007
    Location
    Austin, Texas
    Posts
    21
    Vote Rating
    0
    philmaker is on a distinguished road

      0  

    Default linenumbers-off

    linenumbers-off


    I'm having trouble turning line numbers off. I'm able to do this with CodePress alone but not with Ext.ux.CodePress. I tried setting cls:'linenumbers-off' in the Ext.ux.CodePress config but that does not help. I also tried calling toggleLineNumbers() once the component is instantiated. Has anyone had this work?

  10. #20
    Ext User
    Join Date
    Jan 2008
    Posts
    9
    Vote Rating
    0
    scuter is on a distinguished road

      0  

    Default


    At me it is impossible to put Ext.ux. CodePress in TabPanel,
    The form is not sent and appears a glitch,
    Prompt please as it to correct
    I am sorry for English (I use the translator)
    PHP Code:
    var tpl_TabAdd = function(node)
     {
      
    Ext.MessageBox.show({
         
    msg'получение страници',
         
    progressText'Згрузка...',
         
    width:300,
         
    wait:true
      
    });
      
    Ext.Ajax.request({
       
    url 'src/page_tpl_get:'+node.text
       
    method'GET',
       
    success: function ( resultrequest ) {
        
    //alert(result.responseText);
        
    Ext.MessageBox.hide();
        
    tab = new Ext.FormPanel({
               
    titlenode.text,
               
    closable:true,
               
    autoScroll:true,
               
    id:'tpl_'+node.id,
               
    bodyStyle:'padding:5px',
               
    items: [new Ext.ux.CodePress({
                   
    name:'html',
                   
    width'100%',
                   
    height:'99%',
          
    language'html',
          
    autoResize:true,
          
    value:result.responseText
         
    })],
               
    buttons: [{
          
    text'Submit',
          
    handler: function(){
                    
    tab.form.submit({
                     
    url:'/admin/src/page_seve:'+node.id,
                     
    failure:function(resultrequest)
                     {
                     },
                     
    waitMsg:'Обработка запроса...'
                     
    waitTitle:'Сохранение...'
                    
    });
                }
         }]
           });
           
    tabPanel.add(tab).show();
       }
      });
     } 

    Attached Images

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."