Skip to content

Instantly share code, notes, and snippets.

@elmarputz
Created January 13, 2023 10:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save elmarputz/4f31c39a9c7569ce6f0e462e927a2ec8 to your computer and use it in GitHub Desktop.
Save elmarputz/4f31c39a9c7569ce6f0e462e927a2ec8 to your computer and use it in GitHub Desktop.
News
plugin.tx_news {
view {
# 0 is fallback
templateRootPaths {
0 = EXT:news/Resources/Private/Templates/
10 = EXT:kwm2021/Resources/Private/Templates/
}
partialRootPaths {
0 = EXT:news/Resources/Private/Partials/
10 = EXT:kwm2021/Resources/Private/Partials/News
}
layoutRootPaths {
0 = EXT:news/Resources/Private/Layouts/
10 = EXT:kwm2021/Resources/Private/Layouts/News
}
}
settings {
#displayDummyIfNoMedia = 1
cropMaxCharacters = 200
list {
paginate {
itemsPerPage = 6
insertAbove = false
insertBelow = true
}
media {
image {
maxWidth = 249
maxHeight = 191
}
}
}
detail {
media {
image {
maxWidth = 320
# maxHeight = 300
lightbox = 1
}
}
}
}
_LOCAL_LANG {
de {
more-link = weiterlesen
back-link = zur Liste
dateFormat = %d.%m.%Y
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment