Zum Inhalt springen

Hintergrundbild in HTML-Vordefinierte Container einlesen.

Erstellt am 9. Dezember 2010 · Noch keine Antworten

Tags: Templates & Layouts, Bilder, Frage

ISS ·

Hallo zusammen,

Ich habe ein Problem.

Ich habe auf meiner Seite 3 Content-Container mit HTML definiert und der Content wird auch wie gewünscht angezeigt. Doch wie kann ich jetzt ein Hintergrundbild einlesen? Denn ich möchte bei jedem der drei Content-Container ein Verschiedenes Hintergrundbild einlesen.
Mein TS sieht momentan so aus:

// Spam-protection
config.spamProtectEmailAddresses = 2
config.spamProtectEmailAddresses_atSubst = (at)

plugin.tx_indexedsearch.show.rules = 0
plugin.tx_indexedsearch.blind.results = 1
plugin.tx_indexedsearch._DEFAULT_PI_VARS.lang = 0
plugin.tx_indexedsearch._DEFAULT_PI_VARS.sections = rl2_717
config.index_externals = 0
config.sys_language_uid = 0
config.language = de

// felogin
// Remove header
plugin.tx_felogin_pi1.welcomeHeader_stdWrap.cObject = TEXT
plugin.tx_felogin_pi1.welcomeHeader_stdWrap.cObject.value =
plugin.tx_felogin_pi1.welcomeHeader_stdWrap.wrap = |
// wrap error messages
plugin.tx_felogin_pi1.errorHeader_stdWrap.wrap = <div class="error">|</div>
//template
plugin.tx_felogin_pi1.templateFile = fileadmin/tschau_code/fe-login-template.html
// translation
plugin.tx_felogin_pi1._LOCAL_LANG {
  de {
    ll_success_header = Anmeldung erfolgreich
    ll_status_message = Du bist angemeldet als:
    username = User        
    password = Passwort
    login = Los!
    permalogin = Eingeloggt bleiben:        
    logout = Ausloggen    
  }
}




// Favicon
page.shortcutIcon = fileadmin/code/julex/favicon.ico
page.10.template.file = page.10.template.file = fileadmin/code/template_1spalte_home.html
page.includeCSS.file1 = fileadmin/code/menu.css
page.includeCSS.file2 = fileadmin/code/style.css
page.includeCSS.file3 = fileadmin/code/farben.css
page.includeCSS.file4 = fileadmin/code/print.css
page.includeCSS.file4.title = Drucken
page.includeCSS.file4.media = print
page.includeCSS.file5 = fileadmin/code/fonts.css

page.config {
#cache_period = 1
  no_cache= 0
  index_enable = 1
  index_externals = 1
  notification_email_urlmode = all
      typeNum = 0
  
}


page.10.template.file = fileadmin/code/template.html
page.10.marks {
  
  
          SUCHE < plugin.tx_macinasearchbox_pi1
        SUCHE.pidSearchpage = 1043
  
  HEAD = IMAGE
        HEAD  {
            file.import = uploads/media/
            file.import.data = levelmedia: -1, slide
            file.import.listNum = 1
  }
  
  LOGIN < plugin.tx_felogin_pi1
  
 
#TIP.typolink.parameter = 1180
  TIP =
                                        
    CONTENT_LEFT = CONTENT
    CONTENT_LEFT {
      table = tt_content
      select.orderBy = sorting
      select.where = colPos = 0
      select.languageField = sys_language_uid  
      renderObj.stdWrap.wrap=<div class="box_left">|</div>
          20 = IMAGE
          20.file = GIFBUILDER
          20.mask = fileadmin/images/Grafiken/Sonstige/bk_gradient1.jpg
         
    }

    CONTENT_RIGHT = CONTENT
    CONTENT_RIGHT {
      table = tt_content
      select.orderBy = sorting
      select.where = colPos = 2
      select.languageField = sys_language_uid  
      renderObj.stdWrap.wrap=<div class="box_right">|<br></div>
          20 = IMAGE
          20.file = GIFBUILDER
          20.mask = fileadmin/images/Grafiken/Sonstige/bk_gradient2.jpg
    }

  
    CONTENT_BORDER = CONTENT
    CONTENT_BORDER{
      table = tt_content
      select.orderBy = sorting
      select.where = colPos = 3
      select.languageField = sys_language_uid  
      renderObj.stdWrap.wrap=<div class="box_border">|</div>
          20 = IMAGE
          20.file = GIFBUILDER
          20.mask = fileadmin/images/Grafiken/Sonstige/bk_gradient3.jpg
    }

  
    FOOTER = HMENU
    FOOTER {
      special = list
      special.value = 1058,1048,1047,1046
      1 = TMENU
      1.wrap = | <a href="http://tschau.ch/julex/home/frage-stellen" target="_top"><img src="fileadmin/images/Grafiken_Tschau/Beratungshand/beratungshand_unten.png" width="25" height="22" border="0" align="absmiddle"> E-Beratung</a>
      1.NO = 1
      1.NO.linkWrap = |&nbsp; <img src="fileadmin/images/Grafiken_Tschau/Sonstige/punkt.gif" width="6" height="6"> &nbsp;
    }
  
  
#Ende Marks
  }
  

#Ende Seite
}

plugin.tx_macinasearchbox_pi1.pidSearchpage = 1043
plugin.tx_macinasearchbox_pi1.templateFile = searchbox_01.html  


# entfernen des spacer.gif bzw. clear.gif
   tt_content.image.20.spaceBelowAbove = 0
   tt_content.header.stdWrap.space = 0|0
   tt_content.stdWrap.space = 0|0
   tt_content.stdWrap.spaceBefore = 0
   tt_content.stdWrap.spaceAfter = 0
   lib.stdheader.stdWrap.space = 0|0
  
  
  # div-container um die h1-Überschrift entfernen
lib.stdheader.stdWrap.dataWrap >
  
  # clear.gif hinter der Überschrift entfernen
   tt_content.text.20.parseFunc.tags.typohead.stdWrap.space = 0|0
  
  #  Umbruch <br /> nach der Überschrift entfernen
   lib.stdheader.10.stdWrap.wrap = |
   tt_content.textpic.20.spaceBelowAbove = 0
   tt_content.image.20.spaceBelowAbove = 0
   tt_content.textpic.20.noStretchAndMarginCells = 1
   tt_content.image.20.noStretchAndMarginCells = 1

Danke für eure Hilfe
Grüsse,
ISS