Need to setup some legacy redirects.
Manual Patch
Open applications/collections/Application.php
Find:
/**
* [Node] Get Icon for tree
*
* @note Return the class for the icon (e.g. 'globe')
* @return string|null
*/
protected function get__icon()
{
return 'database';
}
Add BELOW:
/**
* Perform some legacy URL parameter conversions
*
* @return void
*/
public function convertLegacyParameters()
{
/* Redirect to profile tab now */
if ( isset( \IPS\Request::i()->do ) AND \IPS\Request::i()->do == 'item_list' AND isset( \IPS\Request::i()->search_field ) AND \IPS\Request::i()->search_field == 'member_id' AND isset( \IPS\Request::i()->search_term ) )
{
$member = \IPS\Member::load( \IPS\Request::i()->search_term );
if( $member->member_id )
{
\IPS\Output::i()->redirect( $member->url()->setQueryString( array( 'tab' => 'node_collections_Collections' ) ) );
}
}
}
Recommended Comments
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.