redturtle.alternative_orderui

An alternative order UI support for contents view in Plone

Project Description

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.

Authors

This product was developed by RedTurtle Technology team.

RedTurtle Technology Site

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

Self-Certification

[X] Internationalized

[ ] Unit tests

[ ] End-user documentation

[X] Internal documentation (documentation, interfaces, etc.)

[X] Existed and maintained for at least 6 months

[ ] Installs and uninstalls cleanly

[X] Code structure follows best practice

Current Release
redturtle.alternative_orderui 0.5.0

Released Nov 14, 2012 — tested with Plone 4, Plone 3

Added uninstall step
More about this release…

Download file Get redturtle.alternative_orderui for all platforms
redturtle.alternative_orderui-0.5.0.zip
If you are using Plone 3.2 or higher, you probably want to install this product with buildout. See our tutorial on installing add-on products with buildout for more information.

All Releases

Version Released Description Compatibility Licenses Status
0.5.0 Nov 14, 2012 Added uninstall step More about this release…
Plone 4
Plone 3
GPL final
0.4.0 Dec 02, 2010 Code cleaed to follow best practice, and compatibility with collective.sortmyfolder More about this release…
Plone 4
Plone 3
GPL final
0.3.0 Bugfix and Plone 4 compatibility More about this release…
Plone 4
Plone 3
GPL beta
0.2.0 First public release More about this release…
Plone 3
GPL alpha