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 1845
So 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..?