Skip to main content

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

redturtle.alternative_orderui-0.5.0.zip (26.8 kB view details)

Uploaded Source

File details

Details for the file redturtle.alternative_orderui-0.5.0.zip.

File metadata

File hashes

Hashes for redturtle.alternative_orderui-0.5.0.zip
Algorithm Hash digest
SHA256 f09ed3ce659c91fcc11e12864b44042914ddf86bbc52b04927afd5571f119675
MD5 c3cb830af6293dd93f27c801ddd49cdf
BLAKE2b-256 00b4ed52c300f46f735ef25c3ee65c878fe16363f14505311782984c7c9dc65b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page