Advertisement
Mr_media

css2inline and direct mail

Nov 17th, 2017
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.61 KB | None | 0 0
  1. ###########################################
  2. #global language etc.
  3. config.htmlTag_setParams = class="no.js" xmlns="http://www.w3.org/1999/xhtml" language= "nl"
  4. config.htmlTag_langKey = nl-NL
  5.  
  6. config {
  7. metaCharset = utf-8
  8. sys_language_uid = 0
  9. locale_all = nl_NL.utf8
  10. http-equiv= Content-Type
  11. content= text/html
  12. }
  13.  
  14. #### For RealURL config start
  15. ####
  16. config.prefixLocalAnchors = all
  17. config.simulateStaticDocuments = 0
  18. config.baseURL = http://----- /
  19. config.absRelPath = /
  20. #tijdelijke baseUrl
  21. #config.baseURL = http://------- /
  22. config.tx_realurl_enable = 1
  23. config.language = nl
  24.  
  25.  
  26. # RealURL end
  27. #################
  28.  
  29.  
  30.  
  31.  
  32.  
  33. ####### Config Fluid Template for Css2Inline and DirectMailer #############
  34.  
  35. page = PAGE
  36.  
  37. page.typeNum = 0
  38.  
  39. page.10 = FLUIDTEMPLATE
  40.  
  41. # The extension will produce a full blown html document based on the html provided
  42. page.config.disableAllHeaderCode = 1
  43.  
  44. # Call the extension
  45.  
  46. page.10{
  47. page.10.css.10 = FILE
  48. page.10.css.10.file = {resDir}/Public/Css/foundation-emails/foundation-emails.css
  49.  
  50. }
  51. page.10.userFunc = tx_css2inline_pi1->main
  52.  
  53.  
  54. page.10{
  55.  
  56. #Path to the template files stored extension
  57.  
  58. partialRootPath = {$resDir}/Private/Partials
  59.  
  60. layoutRootPath = {$resDir}/Private/Layouts
  61.  
  62.  
  63. file.cObject = CASE
  64.  
  65. file.cObject {
  66.  
  67. key.data = levelfield:-2, backend_layout_next_level, slide
  68.  
  69. key.override.field = backend_layout
  70.  
  71. #default template
  72.  
  73. default = TEXT
  74.  
  75. default.value = {$resDir}/Private/Templates/DefaultTemplate.html
  76.  
  77. #Default template
  78.  
  79. pagets__1 = TEXT
  80.  
  81. pagets__1.value = {$resDir}/Private/Templates/DefaultTemplate.html
  82.  
  83. #Second template
  84.  
  85. pagets__2 = TEXT
  86.  
  87. pagets__2.value = {$resDir}/Private/Templates/RedFooterTemplate.html
  88.  
  89. #Third template
  90.  
  91. pagets__3 = TEXT
  92.  
  93. pagets__3.value = {$resDir}/Private/Templates/NewsLetterTemplate.html
  94.  
  95. }
  96.  
  97. #Here some variables for use in the template by using {}
  98.  
  99. variables {
  100.  
  101. siteName = TEXT
  102.  
  103. siteName.value =
  104.  
  105. pageTitle = TEXT
  106.  
  107. pageTitle.data = page:title
  108.  
  109. #get the content into the template:
  110.  
  111. content < styles.content.get
  112.  
  113. #Maincontent
  114.  
  115. content_main < styles.content.get
  116.  
  117. content_main.select.where = colPos = 0
  118.  
  119. #Content Colom 1
  120.  
  121. content_column_1 < styles.content.get
  122.  
  123. content_column_1.select.where = colPos = 1
  124.  
  125. #Content Colom 2
  126.  
  127. content_column_2 < styles.content.get
  128.  
  129. content_column_2.select.where = colPos = 2
  130.  
  131. }
  132.  
  133. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement