Skip to content

Instantly share code, notes, and snippets.

@elmarputz
Created December 21, 2018 10:57
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/7cc984e1bfffed622a6d8eb2000ea201 to your computer and use it in GitHub Desktop.
Save elmarputz/7cc984e1bfffed622a6d8eb2000ea201 to your computer and use it in GitHub Desktop.
News TS
plugin.tx_news {
view {
# 1 is current template, 0 is fallback
templateRootPaths {
0 = EXT:news/Resources/Private/Templates/
1000 = fileadmin/templates/HTMLTemplates/Extensions/news/Resources/Private/Templates/
}
partialRootPaths {
0 = EXT:news/Resources/Private/Partials/
1000 = fileadmin/templates/HTMLTemplates/Extensions/news/Resources/Private/Partials/
}
layoutRootPaths {
0 = EXT:news/Resources/Private/Layouts/
1000 = fileadmin/templates/HTMLTemplates/Extensions/news/Resources/Private/Layouts/
}
}
settings {
#displayDummyIfNoMedia = 1
cssFile = fileadmin/templates/HTMLTemplates/Extensions/news/Resources/Public/Css/news-basic.css
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
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment