Welcome Guest Search | Active Topics | Sign In | Register

FileExplorer eo_editor_browseFile_profile parameter Options
Duane
Posted: Wednesday, August 19, 2009 12:29:54 PM
Rank: Advanced Member
Groups: Member

Joined: 9/4/2007
Posts: 114
In your sample code, the Explorer.aspx file is called with, and tests for a QueryString parameter:

if (Request.QueryString["eo_editor_browseFile_profile"] == "images")

Where is this querystring set ? Are there other options for setting this parameter?

I am adding an additional parameter to the Editor.FileExplorerUrl which is appended to the querystring.
Does the developer have control over the eo_editor_browseFile_profile parameter?:

Editor1.FileExplorerUrl = "FileExplorer.aspx?subdir=" + PinCode;

Thanks
eo_support
Posted: Wednesday, August 19, 2009 4:01:48 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

This argument is set by this function:

http://doc.essentialobjects.com/library/1/jsdoc.public.editor.browsefile.aspx

The default InsertImage dialog calls this function with "images" as the last parameter. You can modify that by customizing the dialog.

I believe you can add your own argument. The profile argument will be appended to that.

Thanks!
Duane
Posted: Thursday, August 20, 2009 9:19:14 AM
Rank: Advanced Member
Groups: Member

Joined: 9/4/2007
Posts: 114
Ok, I don't see the "InsertImage" dialog, I am using code borrowed from your Editor sample code. I'll have to look into this more closely to see if I can find that dialog.

Thanks.
eo_support
Posted: Thursday, August 20, 2009 9:34:33 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

You won't see that because the default dialogs are automatically generated at runtime. You have the option to include your own dialog template at design time so that the editor will use your custom template instead of automatically generate one. This page contains detailed information about how this works:

http://doc.essentialobjects.com/library/1/editor/customize_dialog.aspx

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.