mirror of
https://github.com/e107inc/e107.git
synced 2025-08-25 07:21:03 +02:00
- Featurebox batch copy feature added (example implementation - page administration), plugin upgrade required
- Lost admin UI messages issue solved - Featurebox list items view now sortable
This commit is contained in:
@@ -3561,38 +3561,4 @@ class e_admin_tree_model extends e_front_tree_model
|
||||
}
|
||||
return $ret;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Get urls/url data for given nodes
|
||||
*/
|
||||
public function featurebox($ids, $options = array(), $extended = false)
|
||||
{
|
||||
$ret = array();
|
||||
|
||||
|
||||
|
||||
foreach ($ids as $id)
|
||||
{
|
||||
|
||||
// print_a($this->getData());
|
||||
|
||||
|
||||
|
||||
if(!$this->hasNode($id)) continue;
|
||||
|
||||
$model = $this->getNode($id);
|
||||
;
|
||||
print_a($this->getData());
|
||||
|
||||
|
||||
// if($this->getFeaturebox()) $model->setFeaturebox($this->getFeaturebox()); // copy url config data if available
|
||||
// $ret[$id] = $model->featurebox($options, $extended);
|
||||
// print_a($ret);
|
||||
}
|
||||
return $ret;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user