7913 Posts in 1355 Topics by 930 members
DataObjectManager Module
SilverStripe Forums » DataObjectManager Module » DataObjectManager and Tabset breaks wysiwyg?
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: | 730 Views |
-
DataObjectManager and Tabset breaks wysiwyg?

27 January 2011 at 5:58am Last edited: 27 January 2011 6:03am
Hi Uncle Cheese and all others,
I've tried to use a tabstrip in the DataObjectManager popup, and all seemed to go well, but then I found that the SimpleTinyMCEField (and other wysiwys) was no longer loading properly. I get a couple of '$ is not a function' errors in the following locations:
.../admin/EditForm/field/myDOMfield/add
.../sapphire/thirdparty/tabstrip/tabstrip.js - line 104
.../sapphire/thirdparty/prototype/prototype.js - line 1845So this is likely some conflict between prototype and jquery? If a solution exists for this problem, I'm sorry I missed it... This is what I'm doing (simplified):
function getCMSFields() {
$fields = new FieldSet();
$fields->push(
new TabSet("Root",
new Tab('MyTab', 'SomeTab'))
)
);$fields->addFieldsToTab('Root.MyTab', array(
$content = new SimpleTinyMCEField(
$name = 'Content',
$title = 'Some wysiwig content'
)
));
return $fields;
}
Any ideas what to block, strip, change or..? -
Re: DataObjectManager and Tabset breaks wysiwyg?

27 January 2011 at 6:15am
You can't use those CMS tabs in a popup. You can use the tabset I created for DOM, though.. See this thread :http://silverstripe.org/dataobjectmanager-module-forum/show/14080?start=8
-
Re: DataObjectManager and Tabset breaks wysiwyg?

27 January 2011 at 6:57am
So oops - I did miss it
Thanks for your speedy reaction!
Martine
| 730 Views | ||
|
Page:
1
|
Go to Top |
