All add-ons

Low Reorder

Just $39.00 per license

Compatibility: EE2, EE3, EE4
Latest release: 3.1.0 (released 2017-12-05)
Licensing: Commercial License Agreement

Extension Hooks

low_reorder_post_save_set

mcp.low_reorder.php, v2.0.0+ — Use this hook to perform extra processing after a (new) Set has been saved.

Arguments

  • $set_id (int) — Set id of the Set that was saved.
  • $data (array) — Set properties that were saved.
$this->EE->extensions->call('low_reorder_post_save_set', $set_id, $data);

low_reorder_show_entries

mcp.low_reorder.php, v2.0.0+ — Use this hook to modify the appearance of the sortable entry list.

Arguments

  • $entries (array) — Array of entries to display.
  • $set (array) — Array of Set details.
$entries = $this->EE->extensions->call('low_reorder_show_entries', $entries, $set);

Return

A nested array of entries to display. Each row must contain the keys entry_id and title. The title is the visible part in the list and can contain any amount of HTML. The optional hidden key can contain an array of items that will be shown when hovering over an entry. For example:

$entries = array(
  array(
    'entry_id' => 42,
    'title'    => '<strong>Hitchhiker’s Guide to the Galaxy</strong>'
    'hidden'   => array('Open', '#42')
  ),
  array(
    'entry_id' => 69,
    'title'    => '<strong>Bill & Ted’s Excellent Adventure</strong>'
    'hidden'   => array('Open', '#69')
  )
);

low_reorder_post_sort

mcp.low_reorder.php, v2.0.0+ — Use this hook to perform extra processing after the list of sortable entries has been saved.

Arguments

  • $entries (array) — Array of entry_ids that were affected.
  • $clear_cache (bool) — Whether the clear cache checkbox was checked or not.
$this->EE->extensions->call('low_reorder_post_sort', $entries, $clear_cache);