Note 1: you can use the {pids} array too.
Note 2: you can use this template with this TypoScript:
# Include jQuery with UI Accordion
# includeLibs.t3jquery = EXT:t3jquery/class.tx_t3jquery.php
# page.13 = USER
# page.13.userFunc = tx_t3jquery->addJqJS
# Configure tt_news:
# plugin.tt_news.singlePid = 1086
# plugin.tt_news.templateFile = fileadmin/templates/files/news_accordion.html
page {
# Remove default JavaScript
page.includeJS.tx_tinyaccordion >
# Download the jQuery UI-styles and customise them...
headerData.36 = TEXT
headerData.36.value =
# Use this lines or the JavaScript-lines above. The example works with this lines better:
# headerData.37 = TEXT
# headerData.37.value =
}
# Remove default Styles
plugin.tx_tinyaccordion._CSS_DEFAULT_STYLE >
# Copy this file in the directory fileadmin/templates/files/Selection/ and use it with this TS, if you want to modify this file:
plugin.tx_tinyaccordion.view.templateRootPaths.1 = fileadmin/templates/files/