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.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.4.0.tar.gz (13.0 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file redturtle.alternative_orderui-0.4.0.tar.gz.

File metadata

File hashes

Hashes for redturtle.alternative_orderui-0.4.0.tar.gz
Algorithm Hash digest
SHA256 ed97ac03b5de7aef9fc9e2267c54d5ecfe6e3238ca6d9296ea6f8a08736f4ab1
MD5 afea88ce90dd70f68323496c360a3704
BLAKE2b-256 e49dba9130e6da75a7535f381b57c5a3de60bcfc679a5fc5b42708ce679a3696

See more details on using hashes here.

File details

Details for the file redturtle.alternative_orderui-0.4.0-py2.4.egg.

File metadata

File hashes

Hashes for redturtle.alternative_orderui-0.4.0-py2.4.egg
Algorithm Hash digest
SHA256 0dba47731bd23e63caa0d5af4721eaa2be18d29bd887f6f9be7b8c9b69e29ca0
MD5 2c7816516888ce9c73b02bd3b41d0300
BLAKE2b-256 0ba21dc77cef50fd49afdba66a95af8d2e9ac7695212112f5f5f041232c77772

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