Page 67 of 73 FirstFirst ... 17576566676869 ... LastLast
Results 661 to 670 of 723

Thread: Start Menu for 2.0 Desktop

  1. #661
    Ext JS Premium Member
    Join Date
    Jan 2008
    Location
    Espaa
    Posts
    215

    Default

    Hi,

    I'm in a doubt, is there a way to remove a module from the start menu but keep it operative at desktop from a shortcut?

  2. #662
    Sencha User mxracer's Avatar
    Join Date
    Apr 2007
    Location
    Napoleon, OH
    Posts
    299

    Default

    Quote Originally Posted by vizcano View Post
    Hi,

    I'm in a doubt, is there a way to remove a module from the start menu but keep it operative at desktop from a shortcut?
    Actually this should be easy.

    In system/core/App.js, getStartItemsConfig() checks for the menuPath property of each module. If the property exists, it uses it to add the module to the StartMenu/ToolMenu.

    Code:
    /**
     * Returns the Start Menu items and toolItems configs
     * @param {array} ms An array of the modules.
     */
    getStartItemsConfig : function(){
       ...
       for(var i = 0, iLen = ms.length; i < iLen; i++){ // loop through modules
          if(ms[i].menuPath){
          ...
    In system/core/Module.js, menuPath is set to 'StartMenu' by default. When you extend the Module class to create your module, you can override it and set it to a value of null.

    Code:
    menuPath : 'StartMenu' // override, set to null
    Todd Murdock

  3. #663

    Default

    Hi, I have got some problems in improving the system.
    Do we have the document for the data-base structure?especially for the accessing permission. for example qo_domains ,qo_groups, qo_groups_has_domain_privileges ..

  4. #664
    Sencha User mxracer's Avatar
    Join Date
    Apr 2007
    Location
    Napoleon, OH
    Posts
    299

    Default

    Quote Originally Posted by gxw81 View Post
    Do we have the document for the data-base structure?especially for the accessing permission. for example qo_domains ,qo_groups, qo_groups_has_domain_privileges ..
    I haven't had time to write up much on it. You can look here: http://www.qwikioffice.com/forum/vie....php?f=2&t=254
    Todd Murdock

  5. #665

    Default

    hi,

    i'm trying to do away with php & mysql. it looks like you need :

    ms[i].launcher.handler = this.createWindow.createDelegate(this, [ms[i].moduleId]);
    ms[i].loaded = true; <----- this line

    in initModules for loading js files through the regular method rather than through loadModule() in App.js

    also it would be great if Ext.BLANK_IMAGE_URL = 'resources/images/default/s.gif' in initApp() is removed as this avoids editing of the original source.

    thx

  6. #666
    Sencha User ben.tremblay's Avatar
    Join Date
    Apr 2007
    Location
    Edmonton, AB Canada
    Posts
    36

    Talking It just gets better!

    I had to come by to X-post my comment in the qWikiOffice blog:

    [quote]"Found your demo ... and and I
    If you look to see how the system works
    Likely you will find that it doesn't.

  7. #667
    Sencha User mxracer's Avatar
    Join Date
    Apr 2007
    Location
    Napoleon, OH
    Posts
    299

    Default

    Quote Originally Posted by d0uble_hel1x View Post
    hi,

    i'm trying to do away with php & mysql. it looks like you need :

    ms[i].launcher.handler = this.createWindow.createDelegate(this, [ms[i].moduleId]);
    ms[i].loaded = true; <----- this line

    in initModules for loading js files through the regular method rather than through loadModule() in App.js

    also it would be great if Ext.BLANK_IMAGE_URL = 'resources/images/default/s.gif' in initApp() is removed as this avoids editing of the original source.

    thx
    Right now qWikiOffice only supports loading the modules on demand. I plan to add a config to allow preload or on demand. Personally I think on demand is best.

    I have also updated to use PHP's PDO so it is not dependent on MySql anymore.

    I just moved the declaration for Ext.BLANK_IMAGE_URL out of App.js and into QoDesk.php.

    Code:
    QoDesk.App = new Ext.app.App({
    	
       init : function(){
          Ext.BLANK_IMAGE_URL = 'resources/images/default/s.gif';
          Ext.QuickTips.init();
       }
       ...
    These changes and more will be in the next release.
    Todd Murdock

  8. #668

    Default Parab

    Simplesmente sensacional!!!

  9. #669

    Default

    mxracer,
    Hello :=) When do you plan to make next version of qWiki?

  10. #670

    Thumbs up Menu height

    Quote Originally Posted by jack.slocum View Post
    That looks real nice!
    ?

Page 67 of 73 FirstFirst ... 17576566676869 ... LastLast

Posting Permissions

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