-
-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Align latest parseFunc with TYPO3 core changes - change default parsing of rte with correct parseFunc - add helper for handling inline helpers
- Loading branch information
1 parent
e7e8a2e
commit c8d6856
Showing
11 changed files
with
134 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
Configuration/TypoScript/ContentElement/RenderChildren.typoscript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
/** | ||
* This lib renders children in headless. | ||
* To use this code copy code below and replace FIELDNAME and TABLENAME with correct values for relation | ||
* | ||
children =< lib.renderChildren | ||
children.10 { | ||
source.field = FIELDNAME | ||
tables = TABLENAME | ||
conf.TABLENAME.stdWrap.wrap = |###BREAK### | ||
} | ||
* | ||
*/ | ||
|
||
lib.renderChildren = COA | ||
lib.renderChildren { | ||
10 = RECORDS | ||
stdWrap { | ||
innerWrap = [|] | ||
split { | ||
token = ###BREAK### | ||
cObjNum = 1 |*|2|*| 3 | ||
1 { | ||
current = 1 | ||
stdWrap { | ||
wrap = | | ||
} | ||
} | ||
|
||
2 { | ||
current = 1 | ||
stdWrap { | ||
wrap = ,| | ||
} | ||
} | ||
|
||
3 { | ||
current = 1 | ||
stdWrap { | ||
wrap = | | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.