Login / Status
developer.Resource
Home . Documentation . Document Library . Tutorials
Sponsors
hosted by punkt.deTYPO3 and Open Source MagazineAOE Media

1.5. Finetuning

Using the static template "cSet" you have access to some constants that lets you define stuff like colors and fonts. You'll also have to adjust a few things as you're using a stylesheet for the layout.

Insert this in the Constants-field:

content {
  wrap.header1 = <h1> | </h1>
  wrap.bodytext = <p class="contenttext">|</p>
  headerSpace = 
  space = 
}
styles.content.textStyle {
  face = 
  size= 
  color =  
}
cSet {
  pageColor = #FFA801
  tableCellColor = #CC6600
  color = black
  color1 = #666633
  color2 = #333300
  fontFace =  Arial
  fontFace.text =  Arial
}
# Image maximum widths, pixels 
styles.content.imgtext.maxW = 460
# Targets, empty for no-frames websites
PAGE_TARGET =
content.pageFrameObj = 

Insert this in the Setup-field:

lib.stdheader.10.stdWrap.wrap = 
tt_content.stdWrap.dataWrap = <A name="{field:uid}"></a>

Now the template looks like this:

Save the template, clear all cache (as usual...) and reload the frontend page.