-
Kevin Ditscheid authoredKevin Ditscheid authored
setup.typoscript 1.46 KiB
config.tx_extbase {
persistence {
classes {
# @deprecated This configuration does not work in TYPO3 10 at all, you need to also change
# Configuration/Extbase/Persistence/Classes.php
SGalinski\SgNews\Domain\Model\News {
mapping {
tableName = pages
recordType = 116
columns {
tx_sgnews_highlighted.mapOnProperty = highlighted
tx_sgnews_never_highlighted.mapOnProperty = neverHighlighted
tx_sgnews_related_news.mapOnProperty = relatedNews
tx_sgnews_news_author.mapOnProperty = newsAuthor
lastUpdated.mapOnProperty = lastUpdated
crdate.mapOnProperty = creationDate
tx_sgnews_teaser1_image.mapOnProperty = teaser1Image
tx_sgnews_teaser2_image.mapOnProperty = teaser2Image
tx_sgnews_tags.mapOnProperty = tags
tx_sgnews_likes.mapOnProperty = likes
tx_sgnews_content_from_another_page.mapOnProperty = contentFromAnotherPage
tx_sgnews_location.mapOnProperty = location
tx_sgnews_date_end.mapOnProperty = dateEnd
}
}
}
SGalinski\SgNews\Domain\Model\Category {
mapping {
tableName = pages
recordType = 117
columns {
tx_sgnews_teaser1_image.mapOnProperty = teaser1Image
tx_sgnews_teaser2_image.mapOnProperty = teaser2Image
}
}
}
SGalinski\SgNews\Domain\Model\Tag {
mapping {
tableName = sys_category
}
}
SGalinski\SgNews\Domain\Model\FileReference {
mapping {
tableName = sys_file_reference
}
}
}
}
}