Werner Krauß
Werner Krauß
A fix could be to disallow archiving for categories that contain products, this can be done via `canArchive()` method
Same here. $dateField = DateField::create('ProjectDate', 'Datum') ->setCalendarConfig($flatpickrCalendarConfig); $fields->insertAfter('Excerpt', $dateField); throws an error: > [Emergency] Uncaught Error: Call to undefined method SilverWare\Calendar\Extensions\FormFieldExtension::getName() Not chaining works: $dateField = DateField::create('ProjectDate', 'Datum'); $dateField->setCalendarConfig($flatpickrCalendarConfig); $fields->insertAfter('Excerpt',...
In the meanwhile this works as a workaround: ``` php public function getCMSFields() { $fields = $this->getGeneratedCMSFields(); $gridConf = GridFieldConfig_RelationEditor::create(); $fields->dataFieldByName('MyManyManyRelationship')->setConfig($gridConf); return $fields; } ``` But out of the box...
Hi unclecheese, according to http://doc.silverstripe.org/framework/en/reference/grid-field#gridfieldconfig-relationeditor it adds an interface for linking existing dataobjects to a manymany relationship or unlink them. It's just some more features than RecordEditor. I had also...
Same here, sometimes something in the session seems to run amok. @PatrickElsing did you generate your form automatically using Parent::getCMSField or form scaffolder? Do you also have the possibility to...
Found it. In my case, it was some routine modifying `Translatable::set_default_locale($locale);` on the fly to get the login page translated... Works now for me.
just create a tag for a commit, see http://git-scm.com/book/en/v2/Git-Basics-Tagging e.g. `git tag 0.0.1` which creates a version for packagist - nothing special or complicated ;)
The easiest (but maybe a bit hacky) would be: - create versions of blocks - store an (recoursive) array of current blocks with versions in a hidden field of the...
i know, i know. was just raising this issue so it's on a todo list ;)
Isn't that a good start to write a unit test that prooves this wrong behaviour?