############################ # POWERMAIL_FRONTEND ############################ plugin.tx_powermail { settings { Pi2 { search { logicalRelation = OR # predefine some filter variables staticPluginsVariables { filter { # examples # [uid] = [value] # _all = [value] } } } rss { title = Powermail 2.0 RSS Feed link = http://www.in2code.de description = Powermail_Frontend RSS Feed language = en copyright = in2code.de updatePeriod = hourly updateFrequency = 1 } misc { file.folder = uploads/tx_powermail/ } # Don't touch this (this is just to let the extension know, that there is TypoScript included) staticTemplate = 1 } } } ############################ # Export section ############################ powermail_frontend_xls = PAGE powermail_frontend_xls { typeNum = 31311 config { disableAllHeaderCode = 1 disablePrefixComment = 1 xhtml_cleaning = 0 admPanel = 0 additionalHeaders = Content-type:application/xls | Content-Disposition: inline; filename=export.xls | Cache-control: | Pragma: } 10 < styles.content.get } powermail_frontend_csv < powermail_frontend_xls powermail_frontend_csv { typeNum = 31312 config.additionalHeaders = Content-type:text/x-csv | Content-Disposition: inline; filename=export.csv | Cache-control: | Pragma: } ############################ # RSS section ############################ powermail_frontend_rss = PAGE powermail_frontend_rss { typeNum = 31319 config { disableAllHeaderCode = 1 disablePrefixComment = 1 xhtml_cleaning = 0 admPanel = 0 #additionalHeaders = Content-type:application/xml } 10 < styles.content.get } [globalVar = GP:type = 31311] || [globalVar = GP:type = 31312] || [globalVar = GP:type = 31319] # we don't want the wrapper div in our export files tt_content.stdWrap.innerWrap > [end] ############################ # JavaScript and CSS section ############################ page { # Inlude JavaScript files includeJSFooterlibs { powermailJQuery = {$plugin.tx_powermail.settings.javascript.powermailJQuery} powermailJQuery.external = 1 } includeJSFooter { powermail_frontend = EXT:powermail/Resources/Public/JavaScripts/powermail_frontend.js } }