I'm a extjs agnostic person, but I needed a number slider tv like the one shown here:
http://dev.sencha.com/deploy/ext-4.0.0/examples/slider/slider.html
After some fiddling around with the documentation
http://rtfm.modx.com/display/revolution20/Adding+a+Custom+TV+Type+-+MODX+2.2
and frankensteining the MODX number TV the result works as I hope for (see attachment).
You can find the complete code here:
https://gist.github.com/pepebe/5578812
There is room for improvement:
Variable width, increments and labels. this should not be a problem.
The problem that I can't solve:
How can I add labels to manager formfields with multi-language-support?
As far as I understand, I have to create a lexicon folder under
core/components/singleSlider/lexicon/en/singleSlider.php
But how do I tell singleSlider where to look for it?
Please help
Regards,
pepebe