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

Forums / Bugs & Issues / TemplateManager in editor

TemplateManager in editor

5 posts, 0 answered
  1. Johan Birgersson
    Johan Birgersson avatar
    7 posts
    Registered:
    24 Sep 2009
    08 Feb 2010
    Link to this post
    Template Manager in the editor dosen't work,cant upload files or se any files,
    i have set    <TemplateManager ViewPaths="~/Files" UploadPaths="~/Files" DeletePaths="~/Files" /> and use sf 3.7 sp2
     
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    08 Feb 2010
    Link to this post
    Hello Johan,

    I checked the RadEditor TemplateManager feature under Sitefinity 3.7 SP2 and there were not problems at my end. Please make sure that you have the following settings

    <telerik:RadEditor
        runat="server"
        ID="textEditor"
        ContentAreaCssFile="~/Sitefinity/Admin/Themes/Default/AjaxControlsSkins/Sitefinity/EditorContentArea.css"
        ToolsFile="~/Sitefinity/Admin/ControlTemplates/EditorToolsFile.xml"   
        Skin="Black"   
        NewLineBr="False"
        Height="360px"
        Width="98%"
          
        ContentFilters="EncodeScripts,FixUlBoldItalic,FixEnclosingP,IECleanAnchors,MozEmStrong,ConvertFontToSpan,ConvertToXhtml,IndentHTMLContent">
        <ImageManager ViewPaths="~/Images" UploadPaths="~/Images" DeletePaths="~/Images" />
        <MediaManager ViewPaths="~/Files" UploadPaths="~/Files" DeletePaths="~/Files" />
        <FlashManager ViewPaths="~/Files" UploadPaths="~/Files" DeletePaths="~/Files" />
        <DocumentManager ViewPaths="~/Files" UploadPaths="~/Files" DeletePaths="~/Files" />
        <TemplateManager ViewPaths="~/Files" UploadPaths="~/Files" DeletePaths="~/Files"  MaxUploadFileSize="300"/>
        <CssFiles>
            <telerik:EditorCssFile Value="~/Sitefinity/Admin/Themes/Default/AjaxControlsSkins/Sitefinity/EditorCssFile.css" />
        </CssFiles>
     
    </telerik:RadEditor>

    tools file

    <tools name="InsertToolbar" dockable="false">
        <tool name="TemplateManager" shortcut="Ctrl+Shift+Alt+T" />
      ...
         ....
    </tools>

    Also the TemplateManager is supposed to show htm/html files.

    Regards,
    Ivan Dimitrov
    the Telerik team

    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
    Follow the status of features or bugs in PITS and vote for them to affect their priority.
  3. RC
    RC avatar
    15 posts
    Registered:
    06 Apr 2010
    11 May 2010
    Link to this post
    Hi,

    I can't find find MaxUploadFileSize in  /<your_project>/Sitefinity/Admin/ControlTemplates/EditorToolsFile.xml as indicated in http://www.sitefinity.com/help/developer-manual/change-radeditor.html
    I am using v3.7

    Thank you!
  4. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    11 May 2010
    Link to this post
    Hello RC,

    You should first check for which control that has the RadEditor you wish to change the settings of the TemplateManager and then edit its control template. You should get the External Templates archive if you have not done already and edit the appropriate file. For example if you wish to edit the Generic Content control you should edit ~/Sitefinity/Admin/ControlTemplates/Generic_Content/GenericContentDesigner.ascx

    Greetings,
    Radoslav Georgiev
    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. RC
    RC avatar
    15 posts
    Registered:
    06 Apr 2010
    11 May 2010
    Link to this post
    Thank you Radoslav! :)
Register for webinar
5 posts, 0 answered