[TYPO3-mvc] extbase as new content element
Dennis Ahrens
dennis.ahrens at googlemail.com
Fri Oct 8 15:04:07 CEST 2010
Hi Jochen,
Jochen Landvoigt wrote:
> I haven't found an extbase function to do this with my extbase plugin.
Had the same problem as you described - and you are right that extbase
does not support this by now.
Here is our workaround:
don't use configurePlugin - add the created typoscript yourself like this:
plugin.tx_fhhlinkliste = USER_INT
plugin.tx_fhhlinkliste {
userFunc = tx_extbase_dispatcher->dispatch
pluginName = fhh_linkliste
extensionName = FhhLinkliste
controller = List
action = list
switchableControllerActions {
0 {
controller = List
actions = list
}
}
settings =< plugin.tx_fhhlinkliste.settings
persistence =< plugin.tx_fhhlinkliste.persistence
view =< plugin.tx_fhhlinkliste.view
}
tt_content.tx_fhhlinkliste = COA
tt_content.tx_fhhlinkliste.10 =< lib.stdheader
tt_content.tx_fhhlinkliste.20 =< plugin.tx_fhhlinkliste
Be aware that there may be breaking changes related to the TypoScript
configuration - as happend a few weeks ago.
in ext_tables.php don't use the extbase register method and do it in the
old pi_base style:
t3lib_extMgm::addPlugin(array('FhhLinkliste', 'tx_fhhlinkliste'), 'CType');
not really clean but works for us.
regards
Dennis
More information about the TYPO3-project-typo3v4mvc
mailing list