5 users online. Create an account or sign in to join them.Users
Author screen delegate
This is an open discussion with 1 reply, filed under Extensions.
Search
I used this code for a similar task in extension.driver.php:
/**
* Add callback functions to backend delegates
*/
public function getSubscribedDelegates(){
return array(
array(
'page' => '/administration/',
'delegate' => 'AdminPagePreGenerate',
'callback' => '__appendAssets'
)
);
}
/**
* Append assets to the page head
*
* @param object $context
*/
public function __appendAssets($context) {
$callback = Administration::instance()->getPageCallback();
// Append javascript for field settings pane
if ($callback['driver'] == 'blueprintssections' && is_array($callback['context'])){
Administration::instance()->Page->addScriptToHead(URL . '/extensions/grouped_selectbox_link/assets/section.js', 100, false);
}
}
If you replace blueprintssections with symstemauthor it should work for you.
Create an account or sign in to comment.
Are there delegates so I can make changes to the authors-screen?