Toolbar Mode - Floating - Default On

7 posts, 1 answers
  1. Jason Brownhill
    Jason Brownhill avatar
    55 posts
    Member since:
    Jun 2009

    Posted 13 Dec 2011 Link to this post

    Hi,
     We're using Telerik RAD Editor for MOSS version 8.5.0.0 and we have a slight question on the toolbar mode 'Floating'.

    1. Can you tell me if there is an option to have the tool bar appear by default instead of clicking on the icon to turn the toolbars on each time?
    2. Can you tell me if there is an option to set the default option on the 'pin' to lock the floating toolbar in position, to 'On'?

    Thanks,
    Jason.
  2. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 13 Dec 2011 Link to this post

    Hi Jason ,

    The RadEditor's property, which controls the toolbar mode is ToolBarMode. Review the following online help article: Toolbar Modes. In order to set it in RadEditor for MOSS you need to edit the ConfigFile.xml or ListConfigFile.xml (for list scenarios), which are located in the /Program Files/Common Files/Microsoft Shared/web server extensions/wpresources/RadEditorSharePoint/5.x.x.0__1f131a624888eeed/Resources/ folder. Modify the following line:
    <property name="ToolbarMode">ShowOnFocus</property>
    to
    <property name="ToolbarMode">Default</property>
    or
    <property name="ToolbarMode">Floating</property>

    Also review the following online help article: Set Properties Via Config File


    Greetings,
    Stanimir
    the Telerik team
    Learn how the Telerik controls can be integrated in SharePoint 2007/2010 from this resource. To watch them in action, explore our online SharePoint 2010 and SharePoint 2007 demo sites.

  3. Richelle Dubif
    Richelle Dubif avatar
    12 posts
    Member since:
    Mar 2010

    Posted 13 Dec 2011 Link to this post

    Hi Stanimir,
     Thanks for the prompt response. I've seen all of those properties and understand how they work.

     By default the 'Floating' property results in the menu bar only appearing when the button is clicked in the toolbar. Is there another property that shows the menu bar in a floating status by default?

     I've seen the demo pages of the very latest editor, and it doesn't appear to function in the way I'm suggesting?

     Thanks,
    Jason.
  4. Answer
    Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 13 Dec 2011 Link to this post

    Hi Richelle,

    Could you confirm that I  understand you correctly? You want to set the ToolBarMode to Floating, but you want the toolbar to be visible on load? In order to do this follow the next steps:
    1. Add the following elements to the ConfigFile.xml file:
    <property name="ToolbarMode">Floating</property>
    <property name="OnClientLoad">OnClientLoad</property>
    2. Add the following code to the MOSSEditorTools.js file:
    function OnClientLoad(editor, args)
    {
        editor.get_toolAdapter()._showToolbarHolder(true);
    }



    Greetings,
    Stanimir
    the Telerik team
    Learn how the Telerik controls can be integrated in SharePoint 2007/2010 from this resource. To watch them in action, explore our online SharePoint 2010 and SharePoint 2007 demo sites.
  5. Jason Brownhill
    Jason Brownhill avatar
    55 posts
    Member since:
    Jun 2009

    Posted 13 Dec 2011 Link to this post

    Thanks Stanimir, that has solved my question 100% - thanks very much!!
  6. Jason Brownhill
    Jason Brownhill avatar
    55 posts
    Member since:
    Jun 2009

    Posted 04 Jan 2012 Link to this post

    Hi Stanimir,
     We had a slight issue with this fix before the new year and I need to ask another question on this please:
     
     When using the 'Use RadEditor to edit HTML fields' on a site where this fix has been applied, the menu bar loads without any buttons to click on. It works normally when in a web part, but not when the content area is on the page by default when creating a page.

     Its quite strange, and obviously not the expected behaviour. I can send a screen shot to explain this if necessary?

     Thanks,
    Jason.
  7. Rumen
    Admin
    Rumen avatar
    12851 posts

    Posted 05 Jan 2012 Link to this post

    Hello,

    Could you please try the solution provided in the following forum thread: Floating toolbatr controlled by user button?

    Kind regards,
    Rumen
    the Telerik team
    Learn how the Telerik controls can be integrated in SharePoint 2007/2010 from this resource. To watch them in action, explore our online SharePoint 2010 and SharePoint 2007 demo sites.
Back to Top