7913 Posts in 1355 Topics by 930 members
DataObjectManager Module
SilverStripe Forums » DataObjectManager Module » Problem with SimpleTinyMCEField
Discuss the DataObjectManager module, and the related ImageGallery module.
Moderators: martimiz, UncleCheese, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 1931 Views |
-
Problem with SimpleTinyMCEField

14 September 2009 at 7:00pm
Hi all
I am trying to use SimpleTinyMCEField but it isnt working. The popup loads but none of the buttons are appearing.
(SimpleWysiwygField works correctly)<?php
class ProductContent extends DataObject
{
static $db = array (
'ProductContentTitle' => 'Text',
'ProductContentDetail' => 'Text'
);
static $has_one = array (
'ProductPage' => 'ProductPage'
);
public function getCMSFields_forPopup()
{
return new FieldSet(
new TextField('ProductContentTitle'),
new SimpleTinyMCEField('ProductContentDetail')
);
}
}?>
_config.php snippet
SimpleTinyMCEField::set_default_buttons(array(
'cut,paste,|,undo,code',
'bold,italic,underline,|,justifyleft,justifyright'
)); -
Re: Problem with SimpleTinyMCEField

16 September 2009 at 1:55am
There was an update recently that changed the jquery resource for SimpleTinyMCEField. Make sure you're up to date.
I have it running on the demo site on the StaffMemberPage example. I'm not seeing any errors reported in Firebug, so I'm not sure what could be going on.
-
Re: Problem with SimpleTinyMCEField

16 September 2009 at 11:17am
Thank you for the response.
I have the latest release (not trunk) from the module page: http://www.silverstripe.org/dataobjectmanager-module/
and am running Silverstripe 2.3.1.
What do I need to update?
-
Re: Problem with SimpleTinyMCEField

4 August 2010 at 11:07pm
I'm using 2.4, how do I set the other values? For example setting the Style
| 1931 Views | ||
|
Page:
1
|
Go to Top |


