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

Forums / Developing with Sitefinity / Only Limited WYSIWYG editor showing

Only Limited WYSIWYG editor showing

16 posts, 0 answered
  1. Benjamin
    Benjamin avatar
    12 posts
    Registered:
    29 Apr 2008
    15 Mar 2009
    Link to this post
    Hello,

    I am currently using the community version of SiteFinity for several non-profit websites. When I place generic content onto the webpage the WYSIWYG editor only has a few tools (bold, lists, etc.) and nothing for font size, tables, font colors, etc.

    Do I need to upgrade to get access to these other buttons, or is there some options to add some of these buttons I am missing?

    If an upgrade is necessary, can I make a custom control that will show a WYSIWYG editor I have already purchased when in edit mode?

    Thank you for your help.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    16 Mar 2009
    Link to this post
    Hi Benjamin,

    You do not need to upgrade. Just open EditorToolsFile.xml located under ~/Sitefinity/Admin/ControlTemplates/ and add new tools items. Take a look at the following article Introduction to Toolbars
    You can also create your user control with RadEditor declaration in it.

    All the best,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. Benjamin
    Benjamin avatar
    12 posts
    Registered:
    29 Apr 2008
    16 Mar 2009
    Link to this post
    Ivan,

    Thank you for your help, this was exactly what I needed.
    I do have one more question.

    How do I set the paths for the Image and Document manager.
    I see in the Telerik Help files this is usually done like this:

    <
    telerik:RadEditor ID="RadEditor1" runat="server"
             
    ImageManager-ViewPaths="~/Images"
             
    ImageManager-UploadPaths="~/Images"
             
    ImageManager-DeletePaths="~/Images" >
     
    </telerik:RadEditor>

    How would I set this information using SiteFinity?

    Again, thank you for your help.
    Ben
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    16 Mar 2009
    Link to this post
    Hello Benjamin,

    Here is a sample:

    <telerik:RadEditor id="Editor" runat="server" contentareacssfile="~/Sitefinity/Admin/Themes/Default/AjaxControlsSkins/Sitefinity/EditorContentArea.css" 
                        toolsfile="~/Sitefinity/Admin/ControlTemplates/EditorToolsFileCAF.xml" skin="WebBlue" 
                        newlinebr="False" width="95%">  
    <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" /> 
      <CssFiles> 
    <telerik:EditorCssFile Value="~/Sitefinity/Admin/Themes/Default/AjaxControlsSkins/Sitefinity/EditorCssFile.css" /> 
       </CssFiles> 
    </telerik:RadEditor> 


    Regards,
    Ivan Dimitrov
    the Telerik team


    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  5. Benjamin
    Benjamin avatar
    12 posts
    Registered:
    29 Apr 2008
    16 Mar 2009
    Link to this post
    Ivan,

    Thank you for the quick response and the explanation of how to make this update. I am pretty sure I will be able to make this update.

    On which page would I find this code block to make the update?
    I want to change these properties for the editor that is used for the 'Generic Content' Control that is included with the default Sitefinity setup.

    I have looked in the '~/Sitefinity/Admin/ControlTemplates/Generic_Content' folder, but I only see the 'ContentVersionView.aspx' file.
    Is there another place I should be looking to find this block of code to update?

    Thank you very much,
    Ben
  6. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    16 Mar 2009
    Link to this post
    Hello Benjamin,

    You need to map one of the external templates
    ~/Sitefinity_3_6_1870_NET20_standard_ExternalTemplates/Sitefinity/Admin/ControlTemplates/Generic_Content/GenericContentDesigner.ascx

    Example:

    <viewSettings hostType="Telerik.Cms.Engine.WebControls.Design.GenericContentDesigner" layoutTemplatePath="~/Sitefinity/externel/back/Generic_Content/GenericContentDesigner.ascx" /> 

    You can download the external templates archive from MyClient.net, Downloads section.

    Best wishes,
    Ivan Dimitrov
    the Telerik team


    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  7. Benjamin
    Benjamin avatar
    12 posts
    Registered:
    29 Apr 2008
    18 Mar 2009
    Link to this post
    Dear Ivan,

    I feel like I am almost there.
    I have uploaded the external template to the directory
    "~/Sitefinity/Admin/ControlTemplates/Generic_Content/"

    Then I uploaded the 'Telerik.Sitefinity.Configuration.ControlsConfig.xml' file to my 'App_Data' folder with this code in the file:

    <?xml version="1.0" encoding="utf-8"?> 
    <controlsConfig> 
      <viewMap> 
          <!-- Provides the user with a customzied RadEditor --> 
          <viewSettings hostType="Telerik.Cms.Engine.WebControls.Design.GenericContentDesigner" layoutTemplatePath="~/Sitefinity/Admin/ControlTemplates/Generic_Content/GenericContentDesigner.ascx" /> 
      </viewMap> 
    </controlsConfig> 

    However, I am still getting the default version of the Generic Content. Is there something I am forgetting to do?

    Thank you very much for your help,
    Ben
  8. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    19 Mar 2009
    Link to this post
    Hi Benjamin,

    Have your restarted the application? Each time when you make changes to Telerik.Sitefinity.Configuration.ControlsConfig.xml file you need to restart your application. Thus the changes will take effect.

    Let us know if you need further assistance.

    Best wishes,
    Ivan Dimitrov
    the Telerik team


    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  9. Devin
    Devin avatar
    149 posts
    Registered:
    09 Jun 2009
    03 Feb 2010
    Link to this post
    Hi Ivan,
    Do I need to change these paths in more than 1 file if, for example, I want my flash documents to go in /flash?

    Thanks,
    Devin
  10. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    03 Feb 2010
    Link to this post
    Hello Devin,

    You can set FlaashManager UploadPaths property to the desired location. There some other features of the FlashManager that you can find useful - Flash Manager - Functionality.

    All the best,
    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.
  11. Devin
    Devin avatar
    149 posts
    Registered:
    09 Jun 2009
    03 Feb 2010
    Link to this post
    Hi Ivan,
    Where can I find ConfigFile.xml?

    Thanks,
    Devin
  12. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    03 Feb 2010
    Link to this post
    Hi Devin,

    If you mean Telerik.Sitefinity.Configuration.ControlsConfig.xml, please take a look at How to map a template.

    Greetings,
    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.
  13. Devin
    Devin avatar
    149 posts
    Registered:
    09 Jun 2009
    03 Feb 2010
    Link to this post
    Hi Ivan,
    The Flash Manager - Functionality page refers to ConfigFile.xml.  Is this the same as Telerik.Sitefinity.Configuration.ControlsConfig.xml?

    Thanks,
    Devin
  14. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    03 Feb 2010
    Link to this post
    Hi Devin,

    No, it is not the same, but this article is for MOSS. Here is a link to the AJAX controls for ASP.NET  - http://www.telerik.com/help/aspnet-ajax/flash.html. You have to work only with FlashManager properties.

    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.
  15. Devin
    Devin avatar
    149 posts
    Registered:
    09 Jun 2009
    03 Feb 2010
    Link to this post
    Hi Ivan,
    So this means that I have to update all of the controls that use RadEditor?  What I'd like is a way to change the paths in the web.config.

    Thanks,
    Devin
  16. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    03 Feb 2010
    Link to this post
    Hello Devin,

    There is no global configuration file that you can manipulate all instances of RadEditor control in Sitefinity.

    Sincerely yours,
    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.
Register for webinar
16 posts, 0 answered