Posted By


xtine777 on 02/20/19

Tagged


Statistics


Viewed 1417 times
Favorited by 0 user(s)

Inherit content from parent page


/ Published in: TYPO3
Save to your folder(s)

rightColumn = COA
rightColumn.2 < styles.content.get
rightColumn.2.select.where = colPos=2
rightColumn.2.slide = -1


Copy this code and paste it in your HTML
  1. page.10 = FLUIDTEMPLATE
  2. page.10 {
  3. file.stdWrap.cObject = CASE
  4. file.stdWrap.cObject {
  5.  
  6. key.data = levelfield:-1, backend_layout_next_level, slide
  7. key.override.field = backend_layout
  8.  
  9. # default Template file for backend-layout Subseite Menü + 1 Spalte
  10. default = TEXT
  11. default.value = fileadmin/{$templateFolder}/template_2.html
  12.  
  13. # Startseite dreispaltig
  14. 215 = TEXT
  15. 215.value = fileadmin/{$templateFolder}/template_1.html
  16.  
  17. # Menü + 2 Spalten
  18. 214 = TEXT
  19. 214.value = fileadmin/{$templateFolder}/template_3.html
  20.  
  21. # Menü + 1 Spalte
  22. 213 = TEXT
  23. 213.value = fileadmin/{$templateFolder}/template_2.html
  24.  
  25. # Ohne Menü, Breite Spalte, rechte Spalte
  26. 216 = TEXT
  27. 216.value = fileadmin/{$templateFolder}/template_4.html
  28. }
  29.  
  30. variables {
  31. pageTitle = TEXT
  32. pageTitle.data = page:title
  33. pageTitle.wrap = <header class="entry-header"><h2 class="entry-title">|</h2></header>
  34. #extraColumn < styles.content.get
  35. #extraColumn.select.where = colPos=3
  36. normalColumn < styles.content.get
  37. rightColumn = COA
  38. rightColumn.2 < styles.content.get
  39. rightColumn.2.select.where = colPos=2
  40. rightColumn.2.slide = -1
  41. leftColumn = COA
  42. leftColumn.2 < styles.content.get
  43. leftColumn.2.select.where = colPos=1
  44. leftColumn.2.slide = -1
  45. }
  46. }
  47. #wenn Inhalt in rechter Spalte ->
  48. #page.bodyTagAdd = class="has-sidebar"

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.