Newer
Older
## Installation
The following typoscript or something equivalent must be added to your site for the pages below the overview page.
```
# used in the single view template to render the news content
lib.mainContent < styles.content.col0
lib.pageTemplate {
variables {
CONTENT = COA
CONTENT {
# load the plugin instead of any page template content on news pages
10 = COA
10 {
10 < tt_content.list.20.sgnews_singleview
if.value.field = doktype
if.equals = 116
}
# load the overview plugin on category pages
20 = COA
20 {
10 < tt_content.list.20.sgnews_overview
if.value.field = doktype
if.equals = 117
}
}
}
}
```