Answer the question
In order to leave comments, you need to log in
How to create custom input type in modx 2.0 Revo?
In Modx, when creating tv-parameters, it is possible to choose the type of input field: picture, number, text, and others. I noticed that some additional packages put their own input fields. But I still haven’t figured out how to create my own custom input fields in the system. Enlighten?
Answer the question
In order to leave comments, you need to log in
System -> content types -> new content type.
in MIME-type it is very easy to google for your type (for example, xls mime or content type xls)
But one subtlety, if you specify the binary type, for some reason the file is not downloaded when it created a document of its type. It is necessary for everyone to remove the daw binari. When you create a document, you put it on the settings tab - Content Disposition: attachment and select your created type. Then it will download.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question