New file browser module

Just committed a cool new module to help out on file management: https://github.com/ColdBox/depot-cbox-filebrowser

Please give it a whirls! Still in dev and will be embedded in ContentBox soon enough.

Thanks

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano

What is this “ContentBox” you speak of? I’m intrigued.

I dropped the filebrowser in a project that isn’t using ses urls. I went to /index.cfm?event=filebrowser and got the following error. The module is registered and that is the entry point that the modules tab on the debugger gives me. What am I doing wrong ?

Application Execution ExceptionError Type: MissingInclude : [N/A]

Error Messages: Could not find the included template /devicematrix/views/filebrowser.cfm.
Note: If you wish to use an absolute template path (for example, template="/mypath/index.cfm") with CFINCLUDE, you must create a mapping for the path using the ColdFusion Administrator. Or, you can use per-application settings to specify mappings specific to this application by specifying a mappings struct to THIS.mappings in Application.cfc.
Using relative paths (for example, template=“index.cfm” or template="…/index.cfm") does not require the creation of any special mappings. It is therefore recommended that you use relative paths with CFINCLUDE whenever possible.

Hmm, not sure on that Dan, can you tell me a little more. The module was designed for see and only tested there, so I would need your feedback.

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano

What do you need? I just dropped it in a project and tried to run it and got this error.

ColdFusion 9
Coldbox 3.1

ahh got it, you are missing the url portions. You just said you wanted the file browser event not the module:
index.cfm?event=filebrowser:home.index

Since you are not using SES you need to be specific

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano

ok, got into the layout but its looking for the following setting…

#getSetting(‘htmlBaseURL’)#

is this something the framework sets or do i have to set that? it is coming up

Application Execution ExceptionError Type: Controller.SettingNotFoundException : [N/A]

Error Messages: The setting htmlBaseURL does not exist.
FWSetting flag is false

do a conditional on it, that’s for SES

<cfif settingExists(‘htmlBaseURL’)>

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano

I am having other issues now, let me test it on a site that has ses urls and see if that fixes the issue.