Advertisement
Guest User

Untitled

a guest
Jul 27th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.68 KB | None | 0 0
  1. <?php
  2. // realurl naming precedence configuration
  3. $TYPO3_CONF_VARS['FE']['addRootLineFields'] .= 'tx_realurl_pathsegment,alias,title';
  4.  
  5. $TYPO3_CONF_VARS['EXTCONF']['realurl']['p372493.mittwaldserver.info'] = array(
  6. 'init' => array(
  7. 'enableCHashCache' => true,
  8. 'appendMissingSlash' => 'ifNotFile',
  9. 'adminJumpToBackend' => true,
  10. 'enableUrlDecodeCache' => true,
  11. 'enableUrlEncodeCache' => true,
  12. 'emptyUrlReturnValue' => '/',
  13. // Allow for proper SEO 404 handling
  14. 'postVarSet_failureMode' => ''
  15. ),
  16.  
  17. 'redirects' => array(),
  18. 'preVars' => array(
  19. array(
  20. 'GETvar' => 'no_cache',
  21. 'valueMap' => array(
  22. 'nc' => 1
  23. ),
  24. 'noMatch' => 'bypass'
  25. ),
  26. array(
  27. 'GETvar' => 'L',
  28. 'valueMap' => array(
  29. // Sprachvariable Deutsch
  30. 'de' => '0',
  31. ),
  32. 'noMatch' => 'bypass',
  33. ),
  34. ),
  35. // PAGEPATH mit Standard-Realurl-Konfiguration
  36. 'pagePath' => array(
  37. 'type' => 'user',
  38. 'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
  39. 'spaceCharacter' => '-',
  40. 'languageGetVar' => 'L',
  41. 'rootpage_id' => 1,
  42. 'expireDays' => 30,
  43. // Nimmt Sysordner aus der Rootline (aktuell auskommentiert!)
  44. 'excludeDoktypes' => '254',
  45. 'segTitleFieldList' => 'tx_realurl_pathsegment,alias,title'
  46. ),
  47. 'fixedPostVars' => array(
  48. 'newsDetailConfiguration' => array(
  49. array(
  50. 'GETvar' => 'tx_news_pi1[action]',
  51. 'valueMap' => array(
  52. 'detail' => '',
  53. ),
  54. 'noMatch' => 'bypass'
  55. ),
  56. array(
  57. 'GETvar' => 'tx_news_pi1[controller]',
  58. 'valueMap' => array(
  59. 'News' => '',
  60. ),
  61. 'noMatch' => 'bypass'
  62. ),
  63.  
  64. 'dateFilter' => array(
  65. array(
  66. 'GETvar' => 'tx_newss_pi1[year]',
  67. ),
  68. array(
  69. 'GETvar' => 'tx_newss_pi1[month]',
  70. 'valueMap' => array (
  71. 'january' => '01',
  72. 'february' => '02',
  73. 'march' => '03',
  74. 'april' => '04',
  75. 'may' => '05',
  76. 'june' => '06',
  77. 'july' => '07',
  78. 'august' => '08',
  79. 'september' => '09',
  80. 'october' => '10',
  81. 'november' => '11',
  82. 'december' => '12',
  83. ),
  84. ),
  85. array(
  86. 'GETvar' => 'tx_newss_pi1[day]',
  87. ),
  88. ),
  89.  
  90. array(
  91. 'GETvar' => 'tx_news_pi1[news]',
  92. 'lookUpTable' => array(
  93. 'table' => 'tx_news_domain_model_news',
  94. 'id_field' => 'uid',
  95. 'alias_field' => 'title',
  96. 'addWhereClause' => ' AND NOT deleted',
  97. 'useUniqueCache' => 1,
  98. 'useUniqueCache_conf' => array(
  99. 'strtolower' => 1,
  100. 'spaceCharacter' => '-'
  101. ),
  102. 'languageGetVar' => 'L',
  103. 'languageExceptionUids' => '',
  104. 'languageField' => 'sys_language_uid',
  105. 'transOrigPointerField' => 'l10n_parent',
  106. 'autoUpdate' => 1,
  107. 'expireDays' => 180,
  108. ),
  109. ),
  110. ),
  111. ),
  112. 'postVarSets' => array(
  113. '_DEFAULT' => array(
  114.  
  115. // NEWS
  116. 'newsCategoryConfiguration' => array(
  117. array(
  118. 'GETvar' => 'tx_news_pi1[overwriteDemand][categories]',
  119. 'lookUpTable' => array(
  120. 'table' => 'sys_category',
  121. 'id_field' => 'uid',
  122. 'alias_field' => 'title',
  123. 'addWhereClause' => ' AND NOT deleted',
  124. 'useUniqueCache' => 1,
  125. 'useUniqueCache_conf' => array(
  126. 'strtolower' => 1,
  127. 'spaceCharacter' => '-'
  128. ),
  129. ),
  130. ),
  131. ),
  132. 'newsTagConfiguration' => array(
  133. array(
  134. 'GETvar' => 'tx_news_pi1[overwriteDemand][tags]',
  135. 'lookUpTable' => array(
  136. 'table' => 'tx_news_domain_model_tag',
  137. 'id_field' => 'uid',
  138. 'alias_field' => 'title',
  139. 'addWhereClause' => ' AND NOT deleted',
  140. 'useUniqueCache' => 1,
  141. 'useUniqueCache_conf' => array(
  142. 'strtolower' => 1,
  143. 'spaceCharacter' => '-'
  144. ),
  145. ),
  146. ),
  147. ),
  148. '28' => 'newsDetailConfiguration',
  149. # '701' => 'newsDetailConfiguration', // For additional detail pages, add their uid as well
  150. # '71' => 'newsTagConfiguration',
  151. # '72' => 'newsCategoryConfiguration',
  152.  
  153. 'controller' => array(
  154. array(
  155. 'GETvar' => 'tx_news_pi1[action]',
  156. 'noMatch' => 'bypass'
  157. ),
  158. array(
  159. 'GETvar' => 'tx_news_pi1[controller]',
  160. 'noMatch' => 'bypass'
  161. ),
  162. ),
  163.  
  164. // 'archiv' => array(
  165. // 'GETvar' => '',
  166. // noMatch => 'bypass'
  167. // ),
  168. // NEWS
  169. ),
  170. ),
  171. 'fileName' => array (
  172. 'defaultToHTMLsuffixOnPrev' => true,
  173. 'index' => array(
  174. 'sitemap.xml' => array(
  175. 'keyValues' => array(
  176. 'type' => 841132,
  177. ),
  178. ),
  179. 'feed.rss' => array(
  180. 'keyValues' => array(
  181. type => 9818,
  182. ),
  183. ),
  184. 'calender.ical' => array (
  185. 'keyValue' => array(
  186. type => 9819,
  187. ),
  188. ),
  189.  
  190. 'robots.txt' => array(
  191. 'keyValues' => array(
  192. 'type' => 841133
  193. ),
  194. ),
  195.  
  196. 'drucken.html' => array(
  197. 'keyValues' => array(
  198. 'type' => '98',
  199. 'print' => '1'
  200. ),
  201. ),
  202.  
  203. 'index.html' => array(
  204. 'keyValues' => array(
  205. 'type' => '0',
  206. ),
  207. ),
  208. ),
  209. 'defaultToHTMLsuffixOnPrev' => true,
  210. 'acceptHTMLsuffix' => true,
  211. ),
  212.  
  213. );
  214. ?>
  215.  
  216. plugin.tx_news {
  217. settings {
  218. backPid = 25
  219. listPid = 25
  220.  
  221. detail {
  222. showPrevNext = 1
  223. showSocialShareButtons = 0
  224. }
  225.  
  226. list {
  227. media {
  228. image >
  229. image {
  230. maxWidth = 75
  231. maxHeight = 75
  232. }
  233. }
  234. }
  235.  
  236. link {
  237. skipControllerAndAction = 1
  238. hrDate = 1
  239. hrDate {
  240. day = d
  241. month = m
  242. year = Y
  243. }
  244. }
  245.  
  246. paginate {
  247. itemsPerPage = 10
  248. insertAbove = 1
  249. insertBelow = 1
  250. templatePath =
  251. prevNextHeaderTags = 1
  252. maximumNumberOfLinks = 3
  253. }
  254.  
  255. analytics.social {
  256. facebookLike = 0
  257. facebookShare = 0
  258. twitter = 0
  259. }
  260. }
  261. predefine.archive = +1 Month
  262. }
  263.  
  264. 'postVarSets' => array(
  265. '_DEFAULT' => array(
  266. //archive
  267. 'period' => array (
  268. array (
  269. 'condPrevValue' => -1,
  270. 'GETvar' => 'tx_ttnews[pS]',
  271. //'valueMap => array()
  272. ),
  273. array (
  274. 'GETvar' => 'tx_ttnews[pL]',
  275. //'valueMap => array()
  276. ),
  277.  
  278. array (
  279. 'GETvar' => 'tx_ttnews[arc]',
  280. 'valueMap' => array(
  281. 'non-archived' => -1,
  282. ),
  283. ),
  284. ),
  285. 'archive' => array(
  286. array(
  287. 'GETvar' => 'tx_ttnews[year]' ,
  288. ),
  289. array(
  290. 'GETvar' => 'tx_ttnews[month]' ,
  291. 'valueMap' => array(
  292. 'january' => '01',
  293. 'february' => '02',
  294. 'march' => '03',
  295. 'april' => '04',
  296. 'may' => '05',
  297. 'june' => '06',
  298. 'july' => '07',
  299. 'august' => '08',
  300. 'september' => '09',
  301. 'october' => '10',
  302. 'november' => '11',
  303. 'december' => '12',
  304. )
  305. ),
  306. ),
  307.  
  308. 'browse' => array (
  309. array (
  310. 'GETvar' => 'tx_ttnews[pointer]',
  311. ),
  312. ),
  313. 'select' => array (
  314. array (
  315. 'GETvar' => 'tx_ttnews[cat]',
  316. 'lookUpTable' => array (
  317. 'table' => 'tt_news_cat',
  318. 'id_field' => 'uid',
  319. 'alias_field' => 'title',
  320. 'addWhereClause'=> 'AND NOT deleted',
  321. 'useUniqueCache'=> 1,
  322. 'useUniqueCache_conf' => array (
  323. 'strtolower' => 1,
  324. 'spaceCharacter' => '-',
  325. ),
  326. ),
  327. ),
  328. ),
  329. 'article' => array(
  330.  
  331. array (
  332. 'GETvar' => 'tx_ttnews[tt_news]',
  333. 'lookUpTable' => array (
  334. 'table' => 'tt_news',
  335. 'id_field' => 'uid',
  336. 'alias_field' => 'title',
  337. 'addWhereClause'=> 'AND NOT deleted',
  338. 'useUniqueCache'=> 1,
  339. 'useUniqueCache_conf' => array (
  340. 'strtolower' => 1,
  341. 'spaceCharacter' => '-',
  342. ),
  343. ),
  344. ),
  345. ),
  346. ),
  347. ),
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement