At first, I have already read the other two Posts. (Typo3 4.7.2 include extbase plugin via typoscript and Typo3 4.6 include extbase plugin with typoscript) and I also had a look at http://forge.typo3.org/projects/typo3v4-mvc/wiki/Dispatcher_rework#Dispatcher-rework.
Based on all the Information I linked on top I tried to Include my Plugin by TypoScript. But I'm still not able to get any output.
I tested the Plugin by inserting it to a Page. (And cleared Cache and typo3temp after my changes)
Thanks in advance for any suggestions
My Configuration:
TypoScript:
lib.pagelinks = USER
lib.pagelinks {
userFunc = tx_extbase_core_bootstrap->run
extensionName = UserPagelink
pluginName = Pi1
controller = Pagelink
action = list
switchableControllerActions {
Pagelink {
1 = list
}
}
settings =< plugin.tx_userpagelink.settings
persistence =< plugin.tx_userpagelink.persistence
view =< plugin.tx_userpagelink.view
}
ext_tables.php:
Tx_Extbase_Utility_Extension::registerPlugin(
$_EXTKEY,
'Pi1',
'Pagelink'
);
ext_localconf.php
Tx_Extbase_Utility_Extension::configurePlugin(
$_EXTKEY,
'Pi1',
array(
'Pagelink' => 'list, renderLinks',
),
// non-cacheable actions
array(
'Pagelink' => 'renderLinks',
)
);
PagelinkController.php (tried with and without return)
public function listAction() {
$pagelinks = $this->pagelinkRepository->findAll();
$this->view->assign('pagelinks', $pagelinks);
return $this->view->render();
}
Extension Key: user_pagelink