Install

Works with Drupal: 7.x

Using Composer to manage Drupal site dependencies

Downloads

Download entity_lister-7.x-1.0-rc2.tar.gztar.gz 16.65 KB
MD5: 6373abb3d57ac32747fe391102ed5575
SHA-1: 6d108eb165feff1c6112c31abd1b8ea43a02ca09
SHA-256: 4f7abd667eeecefc473cc19125dceda5d737dca8483d88daec6ed95f8ad1f703
Download entity_lister-7.x-1.0-rc2.zipzip 19.66 KB
MD5: 1e37767d059e3d53ae272989a08f9a38
SHA-1: 91536f5c55ea94e2e0fb38c910359e411efdf7d2
SHA-256: aa1ff12eda085656486da5b4508507efec8d5fa9f4bd161612470870ccacdd80

Release notes

  • API-breaking changes: The defaults for template, tag, property_condition, field_condition have been changed from null to an empty array. All defaults are now strings or arrays. There is some chance this could affect your application if you have extended the EntityLister class, particularly if you have overridden these methods: defaults(), cid(), query(). If you have extended the class and are not sure how to proceed, please post an issue or PM me before upgrading beyond rc1 and I will patch your class for you.
  • Configurable pager_path and table headers. Previously, overriding the pager_path required extending the class; specifying table headers required preprocessing a template variable. These things can now be done directly in the $config array.
  • The hook_menu implementation now has a new path for 'admin/entity_lister/pageturner'. This path is available for use in admin interfaces, since the 'admin' part of the path tells Drupal to use your site’s admin theme. Previously if you used this module to build an admin interface and used the AJAX pager, items would use admin theme templates for the initial listing and then would switch to the frontend theme templates for AJAX-delivered items.
  • The element() method now accepts an htmltag argument for use when you want to wrap your list in something other than a div.
  • A sample template has been added to demonstrate how to provide a template for a tabular list. You can use this template by setting $config['template'] to 'tabular', and/or modify it for your own purposes.
  • Known issue: If you use the AJAX pager for a tabular list, the order and sort values are not preserved when you click on a column header to re-sort the rows and then change to another page.
Created by: arnoldbird
Created on: 17 Aug 2013 at 15:23 UTC
Last updated: 15 Nov 2013 at 15:23 UTC
New features
Bug fixes

Other releases