How to install redturtle.alternative_orderui
- Download and install ActivePython
- Open Command Prompt
- Type
pypm install redturtle.alternative-orderui
Lastest release
Introduction
An alternative folder_contents forms, that disable someway KSS ordering and show another fast way to reorder items (less and less cool, but this is working most of the time).
The new UI is not using fantastic AJAX/KSS technology, but reload the whole page, simply using basic features that you always have when Javascript is disabled in your browser.
So... use this only when you (or your users) experience some problem with KSS ordering (not always this happens, but happens...). If no-one report a problem with the basic Plone drag&drop sort mechanism, you don't need this product.
Assumptions made in themes
The script try to be smart as possible, being general and not based to Plone UI and theme installed.
- It choose the sorting cell looking for "draggable" CSS class
- It choose the checkbox cell looking for "notDraggable" CSS class
- The cell where to take the title of the document (used when prompt user) must be the one after the "notDraggable"
TODO
- Use jQuery Tools features if installed instead of the ugly Javascript confirm
- Find a KSS way to disable KSS
Changelog
0.5.0 (2012-11-14)
- Added uninstall profile [micecchi]
0.4.0 (2010-12-02)
- Code clean with JSLint [keul]
- Added support for "reverse" parameter in "folder_position" script. The internal called function "orderObject" support it, but not Plone. This way this is compatible also with products like collective.sortmyfolder (see also #11317) [keul]
- Egg cleaned [keul]
0.3.0 (2010-07-14)
- once again the error of using trim or strip Javascript API (that Firefox support both). Tired of this now I'm using jQuery.trim [keul]
- changed icon [keul]
- the code is more general, robust and less based on the default Plone 3 theme (also works with Sunburst theme now) [keul]
- basic Javascript prompt now put default (empty value), now less ugly on IE [keul]
0.2.0 (2010-07-06)
- added z3c.autoinclude support [keul]
- i18n Javascript support [keul]
- removed a lot of customization, not really needed [keul]
- disabled KSS in a less intrusive way [keul]
0.1.0 Unreleased (2010-01-11)
- initial (un)release - you can find this only on SVN