-
5 Jan 2009 12:45 PM #631
Small detail with CSS file paths
Small detail with CSS file paths
In our application we keep extensions under it's own subdirectory, i.e:
/MyApp/ux/FileTree
/MyApp/ux/FileTree/css
/MyApp/ux/FileTree/img
I noticed that some icons were missing when the application was running, and it turns out that filetree.css and icons.css are using some icons included with the Ext distribution and assuming an erroneuos path in our case.
As a workaround I had to manually change the path to were ext resides, for example:
.ux-up-icon-uploading {
background-image:url(../../../ext/resources/images/default/grid/wait.gif);
}
I was thinking that perhaps it's a better idea to include a copy of those files with the FileTree distribution without assuming the location of the Ext directory. They are not that many files.. What do you think?
-
5 Jan 2009 2:31 PM #632
No, I won't include them. I think it could violate Ext JS license. Correcting a couple of paths is not a big deal, is it?
Jozef Sakalos, aka Saki
A lot of valuable info at:
Saki's Extensions and Plugins
Saki's Extensions and Plugins Docs
Saki's Examples, Latest: Grid in Card Layout
Saki's Blog, Featured: Writing a Big Application in Ext, Latest: Grid MultiSearch Plugin Video
-
5 Jan 2009 3:13 PM #633
-
5 Jan 2009 5:03 PM #634
Added.
Jozef Sakalos, aka Saki
A lot of valuable info at:
Saki's Extensions and Plugins
Saki's Extensions and Plugins Docs
Saki's Examples, Latest: Grid in Card Layout
Saki's Blog, Featured: Writing a Big Application in Ext, Latest: Grid MultiSearch Plugin Video
-
9 Jan 2009 8:57 AM #635
Context menu position
Context menu position
Maybe there is a simpler way to accomplish this but I was having a visual alignment issue when the context menu appeared near the lower border of the screen and then I added a file to get uploaded, which essentially extended the menu beyond the viewable area. If the user hovers over the menu item below the upload panel, then the entire screen shifts up to display the rest of the menu.
I believe this is only an issue in my case because I customized the context menu with a new choice that appears below the upload panel. None the less, I thought I would mention.
I added the following commented line in Ext.ux.FileTreePanel.js:
Saki, are you still working towards a new release in February? Thanks!Code:,getContextMenu:function() { ... this.uploadPanel.on({ ... //need to recalibrate the location of the menu when a file gets added ,fileadd:{scope:this, fn:function() { this.showContextMenu(); }} }); ... }
-
11 Jan 2009 2:04 PM #636
February, more toward the end of, still looks feasible here...
Jozef Sakalos, aka Saki
A lot of valuable info at:
Saki's Extensions and Plugins
Saki's Extensions and Plugins Docs
Saki's Examples, Latest: Grid in Card Layout
Saki's Blog, Featured: Writing a Big Application in Ext, Latest: Grid MultiSearch Plugin Video
-
22 Jan 2009 1:44 PM #637
Hi Saki,
I've added chmod and "create new file" option if you are interested...
-
22 Jan 2009 3:35 PM #638
I was also thinking about that when writing but then I dropped the idea. For chmod you should have root access, if you have chmod you should also have chown, chgrp and possibly setfacl. Also, unfortunately for them, some still use Window$ server...
So, I do not plan to add these two to mainstream code, of course, if you need it it's fine that you can add those items.Jozef Sakalos, aka Saki
A lot of valuable info at:
Saki's Extensions and Plugins
Saki's Extensions and Plugins Docs
Saki's Examples, Latest: Grid in Card Layout
Saki's Blog, Featured: Writing a Big Application in Ext, Latest: Grid MultiSearch Plugin Video
-
22 Jan 2009 4:07 PM #639
-
22 Jan 2009 4:51 PM #640
True.
Jozef Sakalos, aka Saki
A lot of valuable info at:
Saki's Extensions and Plugins
Saki's Extensions and Plugins Docs
Saki's Examples, Latest: Grid in Card Layout
Saki's Blog, Featured: Writing a Big Application in Ext, Latest: Grid MultiSearch Plugin Video


Reply With Quote
