Project

General

Profile

Actions

Bug #79006

closed

Example for overwriting tx_idexedsearch.view wrong

Added by Harry Glatz over 7 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Documentation
Target version:
-
Start date:
2016-12-15
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
no-brainer
Is Regression:
No
Sprint Focus:

Description

The documentation of indexed_search show an example on how to overwrite Templates and Partials

plugin.tx_indexedsearch.view {
templateRootPaths {
0 = EXT:indexed_search/Resources/Private/Templates/
1 = EXT:myextension/Resources/Private/Templates/
}

partialRootPaths {
0 = EXT:indexed_search/Resources/Private/Partials/
1 = EXT:myextension/Resources/Private/Partials/
}
}

The Setup of the EXT itself has contains this:

view {
templateRootPaths {
0 = EXT:indexed_search/Resources/Private/Templates/
10 = {$plugin.tx_indexedsearch.view.templateRootPath}
}
partialRootPaths {
0 = EXT:indexed_search/Resources/Private/Partials/
10 = {$plugin.tx_indexedsearch.view.partialRootPath}
}
layoutRootPaths {
0 = EXT:indexed_search/Resources/Private/Layouts/
10 = {$plugin.tx_indexedsearch.view.layoutRootPath}
}

Which means, that the example given in the docs will never be in charge as the higher number will be taken into account.

The example should at least be higher than the default delivered with the EXT

plugin.tx_indexedsearch.view {
templateRootPaths {
0 = EXT:indexed_search/Resources/Private/Templates/
10 = {$plugin.tx_indexedsearch.view.templateRootPath}
20 = EXT:myextension/Resources/Private/Templates/
}
partialRootPaths {
0 = EXT:indexed_search/Resources/Private/Partials/
10 = {$plugin.tx_indexedsearch.view.partialRootPath}
20 = EXT:myextension/Resources/Private/Partials/
}
}
Actions #1

Updated by Gerrit Code Review over 7 years ago

  • Status changed from New to Under Review

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50977

Actions #2

Updated by Gerrit Code Review over 7 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50977

Actions #3

Updated by Anonymous over 7 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #4

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF