1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Default image upload folder sf 3.7

Default image upload folder sf 3.7

8 posts, 0 answered
  1. Devin
    Devin avatar
    149 posts
    Registered:
    09 Jun 2009
    09 Apr 2010
    Link to this post
    Hi in Sitefinity prior to 3.7 I was able to change the default folder for image uploads by changing the ImageManager property in RadEditor.  This does not seem to work in Sitefinity 3.7, is it possible?

    Thanks,
    Devin
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    11 Apr 2010
    Link to this post
    Hello Devin,

    It is possible, but you need to map the external template first. You can gather more information at How to map a template

    Kind regards,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. Devin
    Devin avatar
    149 posts
    Registered:
    09 Jun 2009
    12 Apr 2010
    Link to this post
    Hi Ivan,
    Which template do I map?

    Thanks,
    Devin
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    12 Apr 2010
    Link to this post
    Hi Devin,

    Hi in Sitefinity prior to 3.7 I was able to change the default folder for image uploads by changing the ImageManager property in RadEditor.


    For which part of the Sitefinity you are asking? Which RadEditor declaration?

    Best wishes,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  5. Devin
    Devin avatar
    149 posts
    Registered:
    09 Jun 2009
    12 Apr 2010
    Link to this post
    Hi Ivan,
    I'm trying to change the default path in the Generic Content control in the page editor.  Is this ~/Sitefinity/Admin/ControlTemplates/Generic_Content/GenericContentDesigner.ascx on line 5?

    This is my ~/App_Data/Telerik.Sitefinity.Configuration.ControlsConfig.xml:

    <?xml version="1.0" encoding="utf-8"?>
    <controlsConfig>
      <viewMap>
        <viewSettings hostType="Telerik.Cms.Engine.WebControls.Design.GenericContentDesigner" layoutTemplatePath="~/Sitefinity/Admin/ControlTemplates/Generic_Content/GenericContentDesigner.ascx" />
      </viewMap>
    </controlsConfig>

    Thanks,
    Devin
  6. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    12 Apr 2010
    Link to this post
    Hello Devin,

    Yes, this is the correct template - GenericContentDesigner.ascx. The mapping is also correct. The template will be mapped after you add the configuration you have posted to Telerik.Sitefinity.Configuration.ControlsConfig.xml and restart the application.

    Regards,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  7. Devin
    Devin avatar
    149 posts
    Registered:
    09 Jun 2009
    13 Apr 2010
    Link to this post
    Hi Ivan,
    I've been scouring the forums and found this post http://www.sitefinity.com/support/forums/sitefinity-3-x/developing-with-sitefinity/imageeditordialog-default-upload-path.aspx.  I think this is what I'm looking to do.  However, when I use this example code the default image upload folder doesn't change.

    Thanks,
    Devin
  8. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    13 Apr 2010
    Link to this post
    Hello Devin,

    The sample code applies over one of our custom designers, not to the ImageManager of the RadEditor control.

    All the best,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Register for webinar
8 posts, 0 answered