Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI for change document type #38

Closed
wants to merge 6 commits into from
Closed

UI for change document type #38

wants to merge 6 commits into from

Conversation

AndyButland
Copy link
Contributor

As requested have ported over the pull request that was pending on Codeplex here:
https://umbraco.codeplex.com/SourceControl/network/forks/abutland/WorkingFork/contribution/4076

It's an implementation of a UI for changing of a piece of content's document type, as referred to in issues U4-79 and U4-1468 and on the development mailing list topic "U4-79/U4-1468 UI for Change Document Type".

It uses the V6 API, with some additional checks and calls for document type validity in the content structure, mapping of properties and selection of an appropriate template.

It's set up with translations and user permissions.

Note that in addition to the code there needs to be one small database data update, to give the administrator user type the permission to carry out this action - as follows.

UPDATE umbracoUserType
SET userTypeDefaultPermissions = userTypeDefaultPermissions + '7'
WHERE Id = 1

Hope it proves useful.

Discussion at https://groups.google.com/forum/#!msg/umbraco-dev/g0oMTUCTbDY/wGtl19ZD5A4J

@nul800sebastiaan
Copy link
Member

Thanks Andy, the feature is merged into 6.2.0 now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants