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
Credits
Developed with the support of:
All of them supports the PloneGov initiative.
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
Release files for redturtle.alternative_orderui 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| redturtle.alternative_orderui-0.5.0.zip | 26.8 kB | Details |
Release files / redturtle.alternative_orderui-0.5.0.zip
| Download URL | redturtle.alternative_orderui-0.5.0.zip |
|---|---|
| Size | 26.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f09ed3ce659c91fcc11e12864b44042914ddf86bbc52b04927afd5571f119675
|
|
BLAKE2b-256 checksum How to use checksums |
00b4ed52c300f46f735ef25c3ee65c878fe16363f14505311782984c7c9dc65b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |