Archive: 15/09/2015
Stop default pages being created
This is created based of requireDefaultRecords in SiteTree (in cms package), this indicates that this can be stopped with a yml config (in _config/config.yml)
Read more about 'Stop default pages being created'...
Read more about 'Stop default pages being created'...
Access external database
If you wish to access an external database either with the ORM or with a direct DB::Query you can...
Read more about 'Access external database'...
Read more about 'Access external database'...
Save $many_many_extraFields when adding a DataObject to a list
Assuming you have a $many_many relation and SortOrder defined as $many_many_extraFields you can add an item to this ManyManyList and pass the extraFields as an array:
Read more about 'Save $many_many_extraFields when adding a DataObject to a list'...
Read more about 'Save $many_many_extraFields when adding a DataObject to a list'...