I
I
Ivan Klimchuk2010-09-20 17:48:57
CMS
Ivan Klimchuk, 2010-09-20 17:48:57

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

2 answer(s)
C
Crankoman, 2010-09-21
@Crankoman

like this , or do you mean something else?

3
3ds, 2010-09-21
@3ds

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 question

Ask a Question

731 491 924 answers to any question