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?
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.
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:/** * 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){ ...
Code:menuPath : 'StartMenu' // override, set to null
Todd Murdock
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 ..![]()
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
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
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.
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.
These changes and more will be in the next release.Code:QoDesk.App = new Ext.app.App({ init : function(){ Ext.BLANK_IMAGE_URL = 'resources/images/default/s.gif'; Ext.QuickTips.init(); } ...
Todd Murdock
mxracer,
Hello :=) When do you plan to make next version of qWiki?![]()