Werner Krauß
Werner Krauß
Or use config system?
Came around this issue defining a new `class Foo extends Object implements Shortcodable` But some configuration for this would still be need for better encapsulation
ping.... any improvement on this issue?
Well, we could use $singular_name as a default and still have the possibility to overwrite it if with a custom method if something different is needed?
Well, DataObject has a singular_name() method which does a fallback (basically for getting the singularName out of the class name if it's not defined and to get translations). Do we...
It should still be possible, to manage Dataobjects in the same ModelAdmin / CatalogueAdmin together with pages. E.g. if i want to manage Products (a page) and ProductCategories (Dataobjects) in...
As https://github.com/Little-Giant/silverstripe-catalogmanager/blob/master/code/ModelAdmin/CatalogPageAdmin.php#L20 checks for existence of the extension on the managed DataObject or Page it should be possible to remove it as it degrades gracefully to ModelAdmin. Haven't used it...
This might be possible with an extra css class for that pages in the sitetree.
I wasn't aware that i can "overwrite" that in my class, but it won't work when i call $this->extend('updateCMSFields') in my class. For the moment i guess it's a good...
Hm, no. Added this to my ModelAdmin, but nothing happens. I guess it's some javascript missing, i see the form for adding a new translation in the tab "Translations", but...