Skip to content

Instantly share code, notes, and snippets.

@haassie
Created January 17, 2018 23:20
Show Gist options
  • Save haassie/2c59636b4d907b2acdc28e6c32c1c32c to your computer and use it in GitHub Desktop.
Save haassie/2c59636b4d907b2acdc28e6c32c1c32c to your computer and use it in GitHub Desktop.
Example PageTs config for preview url's
TCEMAIN.preview {
tx_news_domain_model_news {
previewPageId = 7
useCacheHash = 1
useDefaultLanguageRecord = 0
fieldToParameterMap {
uid = tx_news_pi1[news_preview]
}
additionalGetParameters {
tx_news_pi1.controller = News
tx_news_pi1.action = detail
}
}
tx_cal_event {
previewPageId = 8
useCacheHash = 1
useDefaultLanguageRecord = 0
fieldToParameterMap {
uid = tx_cal_controller[uid]
}
additionalGetParameters {
tx_cal_controller.view = event
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment