This is a migrated thread and some comments may be shown as answers.

Toolbar Mode - Floating - Default On

6 Answers 174 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Jason Brownhill
Top achievements
Rank 1
Jason Brownhill asked on 13 Dec 2011, 12:59 PM
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.

6 Answers, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 13 Dec 2011, 02:41 PM
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.
0
Richelle Dubif
Top achievements
Rank 1
answered on 13 Dec 2011, 03:00 PM
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.
0
Accepted
Stanimir
Telerik team
answered on 13 Dec 2011, 03:42 PM
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.
0
Jason Brownhill
Top achievements
Rank 1
answered on 13 Dec 2011, 04:09 PM
Thanks Stanimir, that has solved my question 100% - thanks very much!!
0
Jason Brownhill
Top achievements
Rank 1
answered on 04 Jan 2012, 04:42 PM
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.
0
Rumen
Telerik team
answered on 05 Jan 2012, 02:06 PM
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.
Tags
WebParts for SharePoint
Asked by
Jason Brownhill
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
Richelle Dubif
Top achievements
Rank 1
Jason Brownhill
Top achievements
Rank 1
Rumen
Telerik team
Share this question
or