|
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
|
|
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.aspxThe 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!
|
|
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.
|
|
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.aspxThanks!
|
|