Skip to content

Commit

Permalink
[DOC] Update example using TS #2156
Browse files Browse the repository at this point in the history
  • Loading branch information
georgringer committed Aug 2, 2023
1 parent 5eba25f commit 52a5e40
Showing 1 changed file with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,13 @@ Add this to the ``Detail.html`` which will pass the first category uid to the Ty
lib.tx_news.relatedByFirstCategory {
userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
extensionName = News
pluginName = Pi1
pluginName = NewsListSticky
vendorName = GeorgRinger
mvc {
callDefaultActionIfActionCantBeResolved = 1
}
settings < plugin.tx_news.settings
settings {
relatedView = 1
Expand Down Expand Up @@ -242,9 +246,13 @@ Similar to the example above it is also possible to render news records with the
lib.tx_news.relatedByTags {
userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
extensionName = News
pluginName = Pi1
pluginName = NewsListSticky
vendorName = GeorgRinger
mvc {
callDefaultActionIfActionCantBeResolved = 1
}
settings < plugin.tx_news.settings
settings {
# custom tag to use in List.html
Expand Down

0 comments on commit 52a5e40

Please sign in to comment.