VOOZH about

URL: http://symphonyextensions.com/extensions/order_entries/

⇱ Order Entries — Allow drag-and-drop re-ordering of entries. — Symphony CMS Extensions


Symphony Extensions

Symphony CMS

Follow @symextensions for updates to the 412 extensions that we track. What is this?

What is symphonyextensions.com?

Symphony Extensions tracks Symphony CMS extensions that are hosted on Github.

How do I submit an extension?

Host your extension on Github and make sure the repository has a good README and an extension.meta.xml file. Then sign in to this site using your GitHub profile where you will see a list of your public repositories. Pick one, and add it to the site. When you make changes, just update the XML file in your repository and we do the rest.

What is an extension.meta.xml file?

It is an XML file that you add to your repository to describe your extension. You can include a name and description, developer contact details, version history, changelog, dependencies and more. Please read the documentation for a full list. You can use the lint tool to check your XML against the schema before submitting your extension to the site.

Who runs this site?

This site is now run by the community @symextensions. The site was created by nickdunn. Contact him at @nickdunn

Found a bug?

Please report it here.

2.3.9releasedOrder Entries

Allow drag-and-drop re-ordering of entries.

Clone URLhttps://github.com/symphonists/order_entries.git

Add as a submodulegit submodule add https://github.com/symphonists/order_entries.git extensions/order_entries --recursive

Download
.tar.gz, .zip
Links
Github, Homepage, Issues
Translations
de, fi, it, pl, ro, ru

👁 symphonists
Symphony Communitysymphonists86 extensions

Compatibility

2.x.x2.1.x2.2.x2.3.x2.4.x2.5.x2.6.x2.7.02.7.12.7.22.7.32.7.42.7.52.7.62.7.72.7.82.7.92.7.10
No1.9.51.9.61.10.12.1.32.3.92.3.92.3.92.3.92.3.92.3.92.3.92.3.92.3.92.3.92.3.92.3.92.3.9
Symphony VersionExtension version
2.7.102.3.9
2.7.92.3.9
2.7.82.3.9
2.7.72.3.9
2.7.62.3.9
2.7.52.3.9
2.7.42.3.9
2.7.32.3.9
2.7.22.3.9
2.7.12.3.9
2.7.02.3.9
2.6.x2.3.9
2.5.x2.3.9
2.4.x2.1.3
2.3.x1.10.1
2.2.x1.9.6
2.1.x1.9.5
2.x.xNo

Readme

Order Entries

Installation

  1. Upload the 'order_entries' folder in this archive to your Symphony 'extensions' folder.
  2. Enable it by selecting the "Order Entries", choose Enable from the with-selected menu, then click Apply.
  3. You can now add the "Entry Order" field to your sections.

Usage

  1. Add the "Entry Order" field to your section and tick the "Show column" box.
  2. Click the column heading to sort table by the Entry Order field to enable drag and drop.
  3. When ordered ascending, drag entries within the table and the orders will be re-saved.

Pagination

As of version 2.1.4 Order entries has an additional pagination order per entry. Through this one can set a particular section to be paginated or not.

When using normal pagination the extension makes sure that entries within the page start with the offset of that particular page. For Example if you're on page 3 with 20 entries per page, the first entry will take a minimum index of 41. As this is the least possible to be after the last one of the previous page.

Filtered Views

Since Filtering made it to the core, some problems have arisen in regards to Order Entries. In it's previous form filtering and re-ordering would reset the index of that particular sort to start from 1. This is not always the expected result, with the changes implemented in this version, the offset will start from the minimum index found in the entry. So if you're sorting entries which were numbered 4, 5 and 6 they will keep the same index values when resorted. However if you are sorting 4, 6 and 12 sorting would give the following indices; 4, 5 and 6.

Note that if you plan to use the sorting values only within the filtered views, and use that within your data sources this change will not impact your workflow.

Filtered Ordering

Order Entries now supports an option to filter entries and order them separately. To activate this functionality you have to select which fields you would like to use for filtering from within the settings panel. Once saved, filtered views will have separate orders depending on your settings.

It is very important to note that with version 2.2 the "Filter value" used within the publish page matches whatever you put in your datasource. Sorting and order values are determined from the matching datasource parameter. If in the publish page was filtered by "Home" and your datasource filter says "home" the datasource ordering outputs will not match.

Note: If you set filtered ordering, and within the backend no filters unset all sorting is done without any backend filters, and your datasource contains a filter for the same field as 'filtered ordering' no ordering will take place. As there are no values set with the backend filters matching the ones in your datasource.

Example Use Case

You have been asked to design a schema for a cooking website. Where each recipie has a number ingredients, thus you link your ingredients to your recipes using an association field. The client has also asked to be able to do a dedicated page per ingredient showing the suggested recipies, and they want to order all the supported recipes manually.

Within your recipes section, you add a 'filtered ordering' on the 'ingredients' field This will create a distinct sort order for each ingredient when filtered within your backend.

Thus the recipe 'Spagetti Bolognese' can be in 1st place for 'spagetti', 2nd place for 'tomato sauce' and 4th place for 'minced meat'. Whilst 'lasagna' could be in 3rd place for 'tomato sauce' and 3rd place for 'minced meat'. At the same time in the general recipie classification (no filters) 'Spagetti Bolognese' ranks 5th and 'Lasagna' 15th.

Version history

2.3.922 January 2019

Symphony 2.5 to 2.x.x

  • Fix error when the field is the first visible (#86)

2.3.809 November 2017

Symphony 2.5 to 2.x.x

  • Prevent error when no fields are set (#85)

2.3.717 November 2016

Symphony 2.5 to 2.x.x

  • Removed inline script injection (#83)

2.3.609 August 2016

Symphony 2.5 to 2.x.x

  • Supported on PHP 7
  • Bug fixes (#73 and #77)

2.3.529 July 2016

Symphony 2.5 to 2.x.x

  • Fix broken save on large data sets: Use POST instead of GET

2.3.406 March 2016

Symphony 2.5 to 2.x.x

  • Fix the broken "Hide on publish pages" that always hid the field (#78)
  • Added a LICENCE.txt file

2.3.305 January 2016

Symphony 2.5 to 2.6.x

  • Fix bug with core API: Widget::wrapFormElementWithError is now Widget::Error
  • Replace mistyped delegate with new one

2.3.220 November 2015

Symphony 2.5 to 2.6.x

  • Fix bug where value was also being set for null filters

2.3.107 October 2015

Symphony 2.5 to 2.6.x

  • Bug fixes (#69, #72, #73)

2.3.001 September 2015

Symphony 2.5 to 2.6.x

  • Added filtered ordering
  • Bug fixes

2.2.126 January 2015

Symphony 2.5 to 2.6.x

  • Fix entry selection

2.2.022 January 2015

Symphony 2.5 to 2.6.x

  • Add contextual Ordering using backend/frontend filters
  • Add Disable Pagination Option

2.1.313 July 2014

Requires Symphony 2.4

  • Fixed the login page being crashed

2.1.221 June 2014

Requires Symphony 2.4

  • Fixed invalid meta XML

2.1.120 June 2014

Requires Symphony 2.4

  • Fixed table selection

2.1.012 June 2014

Requires Symphony 2.4

  • Fixed incorrect version number

2.0.116 April 2014

Requires Symphony 2.4

  • Minor fixes
  • Added custom delegated pre and post ordering

2.0.015 April 2014

Requires Symphony 2.4

  • Symphony 2.4 compatibility
  • Fixed pagination maximum rows
  • Fixed force sort that now automatically sets sorting

1.10.111 March 2012

Requires Symphony 2.3.x

1.10.009 March 2012

Requires Symphony 2.3.x

1.9.819 December 2011

1.9.712 October 2011

1.9.521 May 2011

1.9.616 February 2011

Requires Symphony 2.2