-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
MNTP does not allow setting media type, or member type when you change to a matching node type of Media or Member in v8.1 #5983
Comments
Shoot. I'll have a look. |
So I've been digging into this, and it's interesting to say the least 🤔 Obviously it's an error that you get to select content types when you're configuring an MNTP for members or media. That needs to be fixed one way or another; I'll get back to that later. First to the interesting parts. Media pickerThe new V8 media picker implementation does not support the filtering function required by MNTP to dim non-allowed types. This used to work in V7 with the V7 style media picker. See the media picker controller - there is no usage of or reference to Member pickerThe member picker doesn't seem to have been supporting filtering for a long, long time. Here's a GIF from V7.15; the "Member picker" property is an MNTP configured to select only members of type "Other": I have tracked the lack of filtering down to this bit of code. The member picker filtering is "advanced" (meaning it's a custom function by the contentpicker controller here). So what to do?We can do one of three things here:
I suggest option 2 as the best cause of action here. @nul800sebastiaan thoughts? |
Hey @kjac - I see I totally forgot to answer this! 🙈 Yes, definitely go for option 2! |
Hi @tom-ingeniuus, We're writing to let you know that we've added the For more information about issues and states, have a look at this blog post Thanks muchly, from your friendly PR team bot :-) |
I'll get on it 😀 |
@nul800sebastiaan PR in #6177. MNTP property editor support for the configured "allowed types" should be implemented later on (see the PR for details). |
Using version 8.1 in the latest Chrome browser
I want to create a MNTP picker to select only a particular media type which I have created. When you change the node type to media and then try to select the allowed media types, the selector still shows document types. It should show media types. The same issue occurs if you select a member type nodes, you still get a list of document types, not member types.
Interestingly, when selecting the root node for media, it does display media folders. The root node correctly gets hidden when you select a member type node.
The text was updated successfully, but these errors were encountered: