Skip to content

Commit 9a7d42e

Browse files
committed
TASK: Apply migration Neos.Fusion-20161125104701
Adjusts code to package renaming from "TYPO3.TypoScript" to "Neos.Fusion" in Fusion files
1 parent 0b51a8d commit 9a7d42e

4 files changed

Lines changed: 9 additions & 8 deletions

File tree

Resources/Private/TypoScript/AjaxSearch.ts2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
prototype(Flowpack.SearchPlugin:AjaxSearch) < prototype(TYPO3.TypoScript:Template) {
1+
prototype(Flowpack.SearchPlugin:AjaxSearch) < prototype(Neos.Fusion:Template) {
22
templatePath = 'resource://Flowpack.SearchPlugin/Private/Templates/NodeTypes/AjaxSearch.html'
33
searchResultRenderer = Flowpack.SearchPlugin:SearchResultRenderer {
44
@context.searchResults = ${Search.query(site).fulltext(request.arguments.q).execute()}

Resources/Private/TypoScript/ResultRendering.ts2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
prototype(Flowpack.SearchPlugin:SingleResult) < prototype(TYPO3.TypoScript:Case) {
1+
prototype(Flowpack.SearchPlugin:SingleResult) < prototype(Neos.Fusion:Case) {
22
default {
33
condition = Flowpack.SearchPlugin:CanRender {
44
type = ${node.nodeType.name + 'SearchResult'}
@@ -12,7 +12,7 @@ prototype(Flowpack.SearchPlugin:SingleResult) < prototype(TYPO3.TypoScript:Case)
1212
}
1313
}
1414

15-
prototype(TYPO3.Neos:DocumentSearchResult) < prototype(TYPO3.TypoScript:Template) {
15+
prototype(TYPO3.Neos:DocumentSearchResult) < prototype(Neos.Fusion:Template) {
1616
templatePath = 'resource://Flowpack.SearchPlugin/Private/Templates/SearchResult/DocumentSearchResult.html'
1717
node = ${node}
1818
highlight = ${Flowpack.SearchPlugin.Array.flatten(searchHit.highlight)}

Resources/Private/TypoScript/SearchPlugin.ts2

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ prototype(Flowpack.SearchPlugin:Search) < prototype(TYPO3.Neos:Content) {
88

99
searchForm = Flowpack.SearchPlugin:Search.Form
1010

11-
configuration = TYPO3.TypoScript:RawArray {
11+
configuration = Neos.Fusion:RawArray {
1212
itemsPerPage = 25
1313
insertAbove = ${false}
1414
insertBelow = ${true}
1515
maximumNumberOfLinks = 10
1616
}
1717

18-
searchResultRenderer = TYPO3.TypoScript:Tag {
18+
searchResultRenderer = Neos.Fusion:Tag {
1919
tagName = 'ol'
2020
content = Flowpack.SearchPlugin:SearchResultRenderer
2121
}
@@ -31,14 +31,14 @@ prototype(Flowpack.SearchPlugin:Search) < prototype(TYPO3.Neos:Content) {
3131
}
3232
}
3333

34-
prototype(Flowpack.SearchPlugin:Search.Form) < prototype(TYPO3.TypoScript:Template) {
34+
prototype(Flowpack.SearchPlugin:Search.Form) < prototype(Neos.Fusion:Template) {
3535
node = ${site}
3636

3737
templatePath = 'resource://Flowpack.SearchPlugin/Private/Templates/NodeTypes/Search.Form.html'
3838
searchWord = ${request.arguments.search}
3939
}
4040

41-
prototype(Flowpack.SearchPlugin:SearchResultRenderer) < prototype(TYPO3.TypoScript:Collection) {
41+
prototype(Flowpack.SearchPlugin:SearchResultRenderer) < prototype(Neos.Fusion:Collection) {
4242
// the "searchResults" are filled from the <search:widget.paginate> ViewHelper.
4343
collection = ${searchResults}
4444
itemRenderer = Flowpack.SearchPlugin:SingleResult

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@
6060
"Neos.ContentRepository-20161125012000",
6161
"Neos.Fusion-20161125013710",
6262
"Neos.Setup-20161125014759",
63-
"Neos.SiteKickstarter-20161125095901"
63+
"Neos.SiteKickstarter-20161125095901",
64+
"Neos.Fusion-20161125104701"
6465
]
6566
}
6667
}

0 commit comments

Comments
 (0)