[TYPO3-mvc] typo 4.6 include extbase plugin with typoscript
dump array
dump.array at gmail.com
Fri Jan 6 20:36:47 CET 2012
i have TYPO3 4.6, in tempvoila template i have typoscript object path
lib.header and i want to redirect output of plugin to lib.header i have
extension Gallery and plugin written and configured in ext_localconf.php
like this:
Tx_Extbase_Utility_Extension::configurePlugin(
$_EXTKEY,
'RandomPhotoSlideShow',
array(
'Photo' => 'randomPhotoSlideShow',
),
// non-cacheable actions
array(
'Photo' => ''
)
);
in ext_tables.php like this:
Tx_Extbase_Utility_Extension::registerPlugin(
$_EXTKEY,
'RandomPhotoSlideShow',
'Gets random photos for slide show'
);
and in typoscript template i have this:
plugin.tx_gallery.widgets {
papaWidget = USER
papaWidget {
userFunc = tx_extbase_core_bootstrap->run
pluginName = RandomPhotoSlideShow
extensionName = Gallery
controller = Photo
action = randomPhotoSlideShow
switchableControllerActions {
Photo {
1 = randomPhotoSlideShow
}
}
settings =< plugin.tx_gallery.settings
persistence =< plugin.tx_gallery.persistence
view =< plugin.tx_gallery.view
}
}
lib.header < plugin.tx_gallery.widgets.papaWidget
and when i run page nothing happens..., when i include it manually as
plugin on the page
displays what it should display, could somenone please help me, thanks
More information about the TYPO3-project-typo3v4mvc
mailing list