This topic is locked
[SOLVED]

 Hide Unlisted Tables link

11/21/2014 11:13:15 PM
PHPRunner General questions
romaldus author

How To hide "Unlisted tables" Link in Admin Area > Permissions ?

admin 11/23/2014

I think the only way you can do this is to modify source file source\classes\rightspage.php file. Here is the section you need to change:

// add the rest of tables alphabetically

if(count($this->alphaOrderedTables) > count($addedTables))

{

$unlistedId = count($this->menuOrderedTables);

$arr = array();

$arr["collapsed"] = true;

$arr["title"] = ##message UNLISTED##;

$arr["items"] = array();

$this->menuOrderedTables[] = $arr;

foreach( $this->alphaOrderedTables as $table)

{

if( !$addedTables[ $table ] )

{

$this->menuOrderedTables[$unlistedId]["items"][] = count( $this->menuOrderedTables );

$this->menuOrderedTables[] = array( "table" => $table, "parent" => $unlistedId);

}

}

}
romaldus author 11/23/2014



I think the only way you can do this is to modify source file source\classes\rightspage.php file. Here is the section you need to change:

// add the rest of tables alphabetically

if(count($this->alphaOrderedTables) > count($addedTables))

{

$unlistedId = count($this->menuOrderedTables);

$arr = array();

$arr["collapsed"] = true;

$arr["title"] = ##message UNLISTED##;

$arr["items"] = array();

$this->menuOrderedTables[] = $arr;

foreach( $this->alphaOrderedTables as $table)

{

if( !$addedTables[ $table ] )

{

$this->menuOrderedTables[$unlistedId]["items"][] = count( $this->menuOrderedTables );

$this->menuOrderedTables[] = array( "table" => $table, "parent" => $unlistedId);

}

}

}



solved. thanks