-
-
Notifications
You must be signed in to change notification settings - Fork 194
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
icon resolver summarized issues #3500
Comments
Regarding plone/mockup#1159 (comment) and reading https://docs.plone.org/develop/plone/searching_and_indexing/indexing.html#default-plone-indexes-and-metadata-columns ... should we rethink what we do with |
+1000 what about a catalog metadata |
Products/CMFCore/DynamicType.py seems to return the
Is that enough? |
yes, that's what the |
Something in the metadata but not in the index... Anyway I would not change it because it can be used. What is the purpose of using the catalog? We just need a map from the content type to the icon string (as above), something like: {'Document': 'contenttype/document',
'Image': 'contenttype/image',
...
} This can be built on startup querying the registry and cached? |
for example |
What about then to add the content type icons on a vocabulary |
As long as the vocabulary is not defined in plone.app.vocabularies (otherwise dependency indirection), but in CMFPlone I am fine if it helps. |
How it is expected to work:
/
support fallback to a more generic icon, for examplecontenttype/foo
will return the defaultcontenttype
icon_expr
property within thefti
oractions
should be used for the context specific lookup of an iconOpen Issues for icon resolver:
The text was updated successfully, but these errors were encountered: