[TYPO3] Sub-Templates?

Amir M. amir219 at sbcglobal.net
Sun Jul 23 09:32:33 CEST 2006


JoH wrote:
> No extension template necessary.
> Just put it into your main template and make sure there is at least one
> image in the media field of your rootpage. BTW: And you should remove the
> background-image property from your default CSS file to avoid conflicts.
> 
> Joey
> 

Ok, did that, however the page now seems deformed.  This is the TS Code 
which I entered in the main template Setup:

page.headerData {
     123 = IMG_RESOURCE
     123 {
         file {
             import = uploads/media/
             import.data = levelmedia:-1, slide
             import.listNum = 0
             width = 900
             height = 99
         }
         stdWrap.required = 1
         stdWrap.wrap (
<style>
     #banner {
         background-image:url(|);
     }
</style>
}
     }
}

And this is how it is coming out on the site:
http://www.stratcommandcenter.com/redesign4/civilization-iv/

Any idea?



More information about the TYPO3-english mailing list