Mr_media

dataProcessing

Sep 21st, 2020
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.10 KB | None | 0 0
  1. ######Site design css files and js ######
  2. ####css files invoegen in de header####
  3.  
  4.  
  5. ### voor oops error meldingen
  6. config {
  7. contentObjectExceptionHandler = 1
  8. }
  9.  
  10.  
  11.  
  12. ###pagina laadsnelheid verbeteren instellingen
  13. #Setup
  14. config.no_cache = 0
  15.  
  16. #config.compressCss = 1
  17. #config.compressJs = 0
  18.  
  19. #Setup for TYPO3 versies hoger dan >= 7
  20. #config.concatenateCss = 1
  21. #config.concatenateJs = 1
  22.  
  23. #### einde pagina sneller laden instellingen
  24.  
  25. ##### css en js scripts SHUFFLEMIX website laden
  26.  
  27.  
  28. page.includeCSS.powermail = {$resDir}/Public/Css/powermail/powermailshufflemix.css
  29. page.includeCSS.fancybox = {$resDir}/Public/Css/jquery.fancybox.min.css
  30.  
  31. ### A favicon for the site
  32. page.shortcutIcon = {$resDir}/Public/images/favicon.ico
  33.  
  34. page.includeCSS.foundicons_general = {$resDir}/Public/Icons/foundation_icons_general/stylesheets/general_foundicons.css
  35. page.includeCSS.foundicons_social_foundicons = {$resDir}/Public/Icons/foundation_icons_social/stylesheets/social_foundicons.css
  36. page.includeCSS.foundation = {$resDir}/Public/Css/foundation-6.4.2-custom/css/foundation.css
  37. page.includeCSS.app = {$resDir}/Public/Css/app.css
  38.  
  39.  
  40. ###
  41. ### evt hier ook externe fonts invoegen zie ook app.css ####
  42. #page.includeCSS.fontsRoboto = http://fonts.googleapis.com/css?family=Roboto+Condensed:300,400,700,300italic,400italic,700italic
  43. # page.includeCSS.fontsOpensans = http://fonts.googleapis.com/css?family=Open+Sans:800italic
  44. page.includeCSS.fontAwesome = {$resDir}/Public/Css/fontawesome-free-5.14.0-web/css/all.min.css
  45.  
  46. ####
  47. ###js files voor o.a. navigatie sliders fancybox google etc. invoegen in de footer ##
  48.  
  49.  
  50.  
  51. page.includeJSFooter.jquery.forceOnTop = 1
  52. page.includeJSFooter.foundation.min = https://cdnjs.cloudflare.com/ajax/libs/foundation/6.6.3/js/foundation.min.js
  53. page.includeJSFooter.foundation = {$resDir}/Public/Css/foundation-6.4.2-custom/js/vendor/foundation.js
  54.  
  55. page.includeJSFooter.utiltriggers_foundtn = {$resDir}/Public/Css/foundation-6.4.2-custom/js/app.js
  56. #page.includeJSFooter.jquery = https://code.jquery.com/jquery-3.4.1.min.js
  57.  
  58. #page.includeJSFooter.jquery = http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js
  59. page.includeJSFooter.fancybox = {$resDir}/Public/js/jquery.fancybox.min.js
  60. #page.includeJSFooter.jquery = {$resDir}/Public/Css/foundation-6.4.2-custom/js/vendor/jquery.js
  61.  
  62. #page.includeJSFooter.foundation.min = https://cdnjs.cloudflare.com/ajax/libs/foundation/6.6.3/js/foundation.min.js
  63. #page.includeJSFooter.fancybox = https://cdn.jsdelivr.net/gh/fancyapps/fancybox@3.5.7/dist/jquery.fancybox.min.js
  64. page.includeJSFooter.jquery = https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js
  65.  
  66.  
  67.  
  68. ###
  69. #voor fancybox invoegen
  70. ## fancybox voor afbeeldingen laden
  71.  
  72. lib.contentElement.settings.media.popup.linkParams.ATagParams.dataWrap = data-fancybox="image"
  73.  
  74.  
  75.  
  76.  
  77. ###########################################
  78. ####### Config Fluid Template #############
  79.  
  80. page = PAGE
  81.  
  82. page.typeNum = 0
  83.  
  84. page.10 = FLUIDTEMPLATE
  85.  
  86. page.10{
  87.  
  88. #Path to the template files stored in extension
  89.  
  90. partialRootPath = {$resDir}/Private/Partials
  91.  
  92. layoutRootPath = {$resDir}/Private/Layouts
  93.  
  94.  
  95. file.cObject = CASE
  96.  
  97. file.cObject {
  98.  
  99. key.data = levelfield:-2, backend_layout_next_level, slide
  100.  
  101. key.override.field = backend_layout
  102.  
  103. #default template
  104.  
  105. default = TEXT
  106.  
  107. default.value = {$resDir}/Private/Templates/DefaultTemplate.html
  108.  
  109. #Default template
  110.  
  111.  
  112. pagets__0 = TEXT
  113.  
  114. pagets__0.value = {$resDir}/Private/Templates/DefaultTemplate.html
  115.  
  116.  
  117. pagets__1 = TEXT
  118.  
  119. pagets__1.value = {$resDir}/Private/Templates/Main_Template.html
  120.  
  121. #Second template
  122.  
  123. pagets__2 = TEXT
  124.  
  125. pagets__2.value = {$resDir}/Private/Templates/Eq_Template.html
  126.  
  127. #Third template
  128.  
  129. #pagets__3 = TEXT
  130.  
  131. #pagets__3.value = {$resDir}/Private/Templates/Andere_Template.html
  132.  
  133. }
  134.  
  135. #Here some variables for use in the template by using {}
  136.  
  137. variables {
  138.  
  139. siteName = TEXT
  140.  
  141. siteName.value = SHUFFLEMIX
  142.  
  143. pageTitle = TEXT
  144.  
  145. pageTitle.data = page:title
  146.  
  147. ########
  148.  
  149. #get the content into the template:
  150.  
  151. content < styles.content.get
  152.  
  153. #Maincontent
  154.  
  155. content_main < styles.content.get
  156.  
  157. content_main.select.where = colPos = 0
  158.  
  159. #Content Colom 1
  160.  
  161. content_column_1 < styles.content.get
  162.  
  163. content_column_1.select.where = colPos = 1
  164.  
  165. #Content Colom 2
  166.  
  167. content_column_2 < styles.content.get
  168.  
  169. content_column_2.select.where = colPos = 2
  170. #evt meer colommen met colpos toevoegen als nodig voor template
  171.  
  172. }
  173.  
  174.  
  175. ##########################
  176. ### DATA PREPROCESSING ###
  177. ##########################
  178. dataProcessing {
  179.  
  180. 10 = TYPO3\CMS\Frontend\DataProcessing\LanguageMenuProcessor
  181. 10 {
  182. languages = auto
  183. as = languageNavigation
  184. }
  185. }
  186. }
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
Add Comment
Please, Sign In to add comment