Low Reorder Documentation

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'    => 'Hitchhikers Guide to the Galaxy'
                    'hidden'   => array('Open', '#42')
                ),
                array(
                    'entry_id' => 69,
                    'title'    => 'Bill & Teds Excellent Adventure'
                    '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);
        
    

    Support

    Having problems setting up and/or using Low Reorder? Support is offered from 10am to 4pm EST weekdays. Send us an email at help@eeharbor.com and we will respond as quickly as we can.