Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in dashboard widget keSearchTrendingSearchphrases #147

Closed
tastendruecker opened this issue Feb 20, 2023 · 3 comments
Closed

Error in dashboard widget keSearchTrendingSearchphrases #147

tastendruecker opened this issue Feb 20, 2023 · 3 comments

Comments

@tastendruecker
Copy link

tastendruecker commented Feb 20, 2023

Hi there!
The dashboard widget for trending search phrases (i.e. its dataProvider) does not work correctly. At the moment, the widget just displays a list of "array" items. Obviously, not the fluid template ListWidget.html shipped with EXT:ke_search is used but the one that comes from EXT:dashboard. The latter is not capable of handling multidimensional arrays.
Best regards
Sven

@tastendruecker
Copy link
Author

Found the problem: If the TypoScript of EXT:ke_search is NOT loaded in a TS template on the root page (for example in a multi-client environment) the additional templateRootPaths for the dashboard widgets will not be set.

One solution would be to place the TypoScript inside of ext_localconf.php like this:
if (TYPO3_MODE === 'BE') { \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScriptSetup(' module.tx_dashboard { view { templateRootPaths { 1613733292 = EXT:ke_search/Resources/Private/Templates/Dashboard/ } } } '); }

@tastendruecker
Copy link
Author

Thanks! :-)

@christianbltr
Copy link
Member

You're welcome and thanks for reporting. :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants