I'm looking for some examples of how to modify the interface of CKFinder. I'm particularly thinking of
1) Adding a double click to view a file
2) Adding a "sort by file type" option to the settings dialog
Any suggestions/advice?
1) Adding a double click to view a file
2) Adding a "sort by file type" option to the settings dialog
Any suggestions/advice?
Re: Modifying The Interface
The implementation of double click is a bit odd in some versions of IE (you need to select and then double click) but other wise it works.
Still no idea where to start on the "sort by file type". Any ideas?
Re: Modifying The Interface
Would you like to sort files by extension and then by name?
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Modifying The Interface
Re: Modifying The Interface
Also the menu reads 'Select' and nothing relating to View. It's also lost its icon. Shame this isn't more easily configured. Although I've never loved View because it didn't size the window properly.
Re: Modifying The Interface
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Modifying The Interface
Did some work on sizing client side but I guess browser support isn't there yet to rely on that properly. Plus it largely fails for non-image files which can't be loaded in to img tags.
Excuse the terrible code.
Re: Modifying The Interface
Put it inside an img.onload function to make sure it always loads in time, previous solution sometimes doesn't have dimensions available when window.open is called.
Re: Modifying The Interface
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+