[TYPO3-UG Dutch] Lettertype

Rob De Vries spam_this at pandora.be
Fri Feb 9 15:28:02 CET 2007


voor bv enkel de pagetitle :
temp.PAGETITLE = COA
temp.PAGETITLE {
   5 = TEXT
   5 {
   	field = title
     insertData = 1
     noTrimWrap = |<h1 class="pagetitle" title="|">|
   }


   10 = IMG_RESOURCE
   10.stdWrap.wrap = <span style="background:transparent url(|)no-repeat 
top left"></span>
   10.file = GIFBUILDER
   10.file {
     maxWidth = {$pagetitle-maxwidth}
     transparentBackground = 0
     XY = 540,60

	format = jpg
     5 = TEXT
     5 {
       text.data = field:title
       #text.current = 1
       fontSize = 40px
       fontColor = #ffffff
       offset = 5,30
       align = left
       niceText = 1
       fontFile = fileadmin/fonts/LTe50257.ttf
	
          }
     4 = IMAGE
     4.file = {$pagetitle-back}
   }

   15 = TEXT
   15 {
   	value = {page:title}
     insertData = 1
     wrap = |</h1>
   }
}


en de bij behorende CSS:
h1.pagetitle {
	background: transparent;
	position: relative;
	top: -14px;
	left: 3px;
	width: 530px;
	height: 40px;
	overflow: hidden;
	line-height: 40px;
	color: #fff;
	border-bottom: 1px solid #5a626f;
	}

h1.pagetitle  span {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	}


Wil je meerdere lijnen krijgen?
gebruik dan ipv pagetitle het abstract field. (wel je css aanpassen dan)

grtz
Rob

-- 
------------------------------------------------------------
web : http://www.rob-ot.be
skype : rob-ot
------------------------------------------------------------
[O_o] -- Don't feed the rob-ot


More information about the TYPO3-UG-dutch mailing list