Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Aktuelle Ebene
- temp.page_background_object = CONTENT
- temp.page_background_object {
- table = pages
- select {
- selectFields = tx_extendcontent_background_image, tx_extendcontent_background_height
- pidInList.data = page:pid
- where = TEXT
- where {
- wrap = uid=
- data = page:uid
- }
- }
- renderObj = COA
- renderObj {
- 10 = COA
- 10 {
- 10 = TEXT
- 10 {
- stdWrap {
- required = 1
- noTrimWrap = | class="height-|" |
- }
- field = tx_extendcontent_background_height
- }
- 50 = TEXT
- 50 {
- stdWrap {
- required = 1
- noTrimWrap = | style="background-image: url(uploads/pics/|)" |
- }
- field = tx_extendcontent_background_image
- }
- }
- # 1. Ebene Richtung Rootline
- stdWrap.ifEmpty.cObject < temp.page_background_object
- stdWrap.ifEmpty.cObject {
- slide = -1
- select {
- pidInList >
- where {
- wrap = uid=
- data >
- field = pid
- }
- }
- renderObj {
- # 2. Ebene Richtung Rootline
- stdWrap.ifEmpty.cObject < temp.page_background_object.renderObj.stdWrap.ifEmpty.cObject
- stdWrap.ifEmpty.cObject.renderObj {
- # 3. Ebene Richtung Rootline
- stdWrap.ifEmpty.cObject < temp.page_background_object.renderObj.stdWrap.ifEmpty.cObject
- stdWrap.ifEmpty.cObject.renderObj {
- # 4. Ebene Richtung Rootline
- stdWrap.ifEmpty.cObject < temp.page_background_object.renderObj.stdWrap.ifEmpty.cObject
- }
- }
- }
- }
- }
- }
- # Auslesen des Seiten-Hintergrundbildes und der Hintergrundhöhe
- lib.debug_tx_extendcontent_pages = COA
- lib.debug_tx_extendcontent_pages {
- 10 = COA
- 10 {
- 10 = COA
- 10 {
- 10 = TEXT
- 10 {
- required = 1
- noTrimWrap = | style="background-image: url(uploads/pics/|)" |
- data = levelfield:-1, tx_extendcontent_background_image, slide
- }
- stdWrap {
- required = 1
- wrap.cObject = COA
- wrap.cObject {
- stdWrap.noTrimWrap = | class="|" |
- 10 = COA
- 10 {
- 10 = TEXT
- 10.value = height-
- 20 = TEXT
- 20 {
- data = levelfield:-1, tx_extendcontent_background_height, slide
- }
- }
- }
- }
- }
- # Fallback auf den manuellen Slide bis zur 4. Ebene der Elternseiten
- stdWrap.ifEmpty.cObject < temp.page_background_object
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment