modxcms / Collections

An Extra for MODX Revolution that provides for Resource Collections managed by CollectionContainer Resources
GNU General Public License v2.0
53 stars 37 forks source link

Fix child_resource_type for new templates #353

Closed Jako closed 1 year ago

Jako commented 1 year ago

This fixes the issue of creating collection children with the wrong resource type modDocument instead of MODX\Revolution\modDocument, when the collection uses a new created collection template. Existing and duplicated collection templates are fine.

The resource type combo box shows modDocument in the templates that create this issue. Templates that do not create the issue are showing Document there.

Jako commented 1 year ago

It also needs a new resolver for the Collection templates. A new resolver for changing existing modDocument resource types would be nice too.