Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




How To: Activate Upload on Image/Flash/Media/Doc Managers...

web-app

In the RAD Editor when creating or updating an Issue, how do you "activate" the ability to use the Upload feature of the "Managers"?  As it stands right now, when I click on any of the Managers, the Upload Tab is greyed out and inaccessable. 

Help.  :-)

TekkGuy
· 1
TekkGuy
Replies (18)
helpful
0
not helpful

Wait for release 2.0.3 that will have this stuff enabled by default.

Alternatively, create a bunch of folders and then point to them by editing the RichTextCtrl.ascx file -- you set properties in this file that will point to the newly created folders.  See the RAD admin manual that ships with Gemini.


Harvey Kandola
· 212
Harvey Kandola
helpful
0
not helpful

Do you have further info on this?

All info available there are:

You can allow end-users to upload images in the folder structure of the web-application by setting the UploadImagesPaths property. For example, to enable users to upload images in the "./Img" folder and all of its subfolders, you need to set that property as follows:

UploadImagesPaths="~/Img"  


deniz
· 1
deniz
helpful
0
not helpful

This is done for 2.0.3 release.

http://www.countersoft.com/downloads/beta/Geminiv203beta3.zip

Test the beta out.


Harvey Kandola
· 212
Harvey Kandola
helpful
0
not helpful

Hiya

I'm currently using version 2.0.3 and the thumbnail option is still greyed out.  I've read the RAD manual which says that with version 5 this option should be enabled. 

I'd be grateful if you could please advise what the current position is and as to whether or not we need to amend the above mentioned file manually.

Many thanks

Vix


vix
· 1
vix
helpful
0
not helpful

You need to change the file RichTextCtrl.ascx (under the issue direcotry of the Gemini web app) and add the following to the radEditor tag: AllowThumbGeneration="True"

Sorry for the VERY late reply!

 

Below is the full new declaration., which will enable all image, doc, media and flash uploads providing you give permissions to the folders:

<radE:RadEditor id="RadEditor1" Runat="server" ToolsFile="~/RadControls/ToolsFile.xml" Scheme="Office2000"
 ShowSubmitCancelButtons="False" Editable="True" TemplatePaths="~/issue/RAD/UserTemplates"
 UploadTemplatePaths="~/issue/RAD/UserTemplates" DeleteTemplatePaths="~/issue/RAD/UserTemplates"
 UploadImagesPaths="~/issue/RAD/UserImages" ImagesPaths="~/issue/RAD/UserImages" UploadMediaPaths="~/issue/RAD/UserImages"
 MediaPaths="~/issue/RAD/UserImages" FlashPaths="~/issue/RAD/UserImages" UploadFlashPaths="~/issue/RAD/UserImages"
 UploadDocumentsPaths="~/issue/RAD/UserImages" DocumentsPaths="~/issue/RAD/UserImages" AllowThumbGeneration="True"></radE:RadEditor>


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

May I suggest you put this in the code for future downloads/releases?

Also, that only seems to make the UPLOAD button available for images.  Click documents and it is still grayed out.


astribli
· 1
astribli
helpful
0
not helpful

Hi,

Sorry to bring this old topic up again, but i am having a minor issue with the latest version.

I have just upgraded from version 2 to version 3. but now my image manager will not allow me to upload.. everything is actually disabled.

Also, the default directory is in the CommonTemplates directory.. Is there a way to change this? i cannot find the UploadImagesPaths property anywhere?

Could the first issue be because our registration of Gemini has just expired 2 weeks ago?

Thanks for your help in advance.

Cheers,

Craig


CraigW
· 1
CraigW
helpful
0
not helpful

You need to change the file again as per the post above.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

I,m also having the same problem after upgrading to version 3 and I can't find file RichTextCtrl.ascx anywhere.


cmamaral
· 1
cmamaral
helpful
0
not helpful

Look under the controls folder.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Hi,

Sorry to be a pain.. but i still can't get it working after many attempts..

I've udpated the RichText.ascx to the same as posted above.. and by doing that i get the Error about unable to find radE:RadEditor (because it isn't declared in the Web.config)

I updated it to reflect the Web.config edit to the telerik:RadEditor as declared:
<add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI"/>

By doing this, i then get the error:

Parser Error Message: The base class includes the field 'rtcComment', but its type (CounterSoft.Gemini.RichText) is not compatible with the type of control (ASP.controlsrichtextascx).

Source Error:

Line 36:         <td>
Line 37:             <asp:TextBox id="txtComment" runat="server" MaxLength="255" TextMode="MultiLine" Rows="15" Columns="60" Visible="False"></asp:TextBox>
Line 38:            <gem:RichTextBox id="rtcComment" runat="server"></gem:RichTextBox>
Line 39:         </td>
Line 40:         <td><gem:GeminiRequiredFieldValidator id="RequiredFieldValidator3" runat="server" Key="Required" ControlToValidate="txtComment" Visible="False" Enabled="False"></gem:GeminiRequiredFieldValidator>

Source File: /gemini/issue/Comment.aspx    Line: 38

I can't seem to come up with a solution for this.. Can someone point me in the right direction? I am only new to asp and web development.. so i'm still trying to grasp it all...

Thanks in advance..


CraigW
· 1
CraigW
helpful
0
not helpful

You should not change the actual tag name, leave it as it was in 3.0.x. Just add the extra properties.


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

By extra properties, do you mean in the web.config file? as
<add tagPrefix="radE" namespace="Telerik.WebControls" assembly="RadEditor.Net2" />

I have done this, and also ensured that the RadEditor.Net2.dll library is in the bin directory.

I have updated the RichText.ascx to the same as above (only changing directories) as so: (this is the entire contects of the RichText.ascx.. is this correct?

<radE:RadEditor id="RadEditor1" Runat="server"
 ToolsFile="~/RadControls/ToolsFile.xml"
 Scheme="Office2000" 
 ShowSubmitCancelButtons="False"
 Editable="True"
 TemplatePaths="~/issue/RAD/UserTemplates"
 UploadTemplatePaths="~/controls/RAD/UserTemplates"
 DeleteTemplatePaths="~/controls/RAD/UserTemplates"
 UploadImagesPaths="~/controls/RAD/UserImages"
 ImagesPaths="~/controls/RAD/UserImages"
 UploadMediaPaths="~/issue/RAD/UserImages"
 MediaPaths="~/controls/RAD/UserMedia"
 FlashPaths="~/controls/RAD/UserMedia"
 UploadFlashPaths="~/controls/RAD/UserMedia"
 UploadDocumentsPaths="~/controls/RAD/UserDocuments"
 DocumentsPaths="~/controls/RAD/UserDocuments"
 AllowThumbGeneration="True">
</radE:RadEditor>

I have ensured the ToolFile.xml is located in the root/RadControls directory.

yet, i still get the error: Parser Error Message:
The base class includes the field 'rtcComment', but its type (CounterSoft.Gemini.RichText) is not compatible with the type of control (ASP.controlsrichtextascx).

any further idea's on what the issue could be at all?

Cheers


CraigW
· 1
CraigW
helpful
0
not helpful

Sorry, which version of Gemini are you running? The image and document manager should be enabled by default now.


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

CounterSoftGeminiv302

Which version was it set to default in?


CraigW
· 1
CraigW
helpful
0
not helpful

3.0.3


Harvey Kandola
· 212
Harvey Kandola
helpful
0
not helpful

Ahh great.. i just upgraded to 3.0.4 and its all working again.

One thing i did notice that was missing, was the Document Manager settings in RichText.ascx..

<DocumentManager
     ViewPaths="~/controls/RAD/UserDocuments"
     UploadPaths="~/controls/RAD/UserDocuments"
     DeletePaths="~/controls/RAD/UserDocuments">
</DocumentManager>

Could this possibly be in future releases by default? Without it, the Document Manager is useless.

Thanks guys,

Craig


CraigW
· 1
CraigW
helpful
0
not helpful

Will do. Thanks for pointing it out.


Saar Cohen
· 5000
Saar Cohen