We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 39662
    • 2 Posts
    I'm trying to solve a specific issue: in a simple tree catalog-like structure ( categories > brands > models) models can have different properties as TVs (dimensions, weight, etc). The goal is to make their input in back-end more convenient: instead of plain text input type, create (or use existing) one that should allow entering value parts (like length, width, height) separately, and an appropriate output type for neatly rendering it.

    Ideally, it could be one type for all such cases, with kind of built-in "input templating", like in MIGX (cool, though not the thing, because it's meant to be filled with multiple records) — but the actual trouble I faced is much more simple: how to make a type with multiple input fields, that will produce a formatted value (e.g. json)?

    I've read the tutorials (here http://rtfm.modx.com/display/revolution20/Adding+a+Custom+TV+Input+Type and there http://rtfm.modx.com/display/revolution20/Adding+a+Custom+TV+Output+Type and one more http://rtfm.modx.com/display/revolution20/Adding+a+Custom+TV+Type+-+MODX+2.2) and tried to modify built-in types, but still cant figure out how to do it, mainly because I've found nothing about ExtJs+MODX integration.