Archive: January, 2016

How to move all Pages and DataObjects from Main Site to a Subsite

In case you want to move "Everything (tm)" from Main Site to a Subsite, there is no ready-to-use task available.
Read more about 'How to move all Pages and DataObjects from Main Site to a Subsite'...

ModelAdmin: filter by $many_many with a dropdown

When you have a DataObject with a $many_many "Tags" => "Tag" you can add a filter dropdown in ModelAdmin by overwriting the scaffoldSearchFields() method:
Read more about 'ModelAdmin: filter by $many_many with a dropdown '...

Get all titles of a many_many component in a GridField summary

Assuming you have a DataObject with $many_many Tags, you can easily add all Tag's Titles comma seperated to $summary_fields using PHP's join method, even sorted by the SortOrder of the...
Read more about 'Get all titles of a many_many component in a GridField summary'...
RSS feed for this blog