Re: [TYPO3-english] GIFBUILDER headings change on different content-element layout

2011-02-24 Thread Enrique Moreno Tent
Ok! I got it! for the black heading to appear, I have to call it "1", not "default"! Thank you! On Thu, Feb 24, 2011 at 1:30 PM, Enrique Moreno Tent < enriquemorenot...@gmail.com> wrote: > True, that makes the white boxes have black headings, but now the green > ones > have a normal non-GIFBUILD

Re: [TYPO3-english] GIFBUILDER headings change on different content-element layout

2011-02-24 Thread Tomas Mrozek
I didn't give you the whole Typoscript. I gave you something to start with and I told you to look at how CASE works. I'm not your hired coder. You will have to tweak it yourself. If you take a look at the code you will see that only "default" and "2" (= black) is defined. Simply add the other colo

Re: [TYPO3-english] GIFBUILDER headings change on different content-element layout

2011-02-24 Thread Enrique Moreno Tent
True, that makes the white boxes have black headings, but now the green ones have a normal non-GIFBUILDER heading... On Thu, Feb 24, 2011 at 12:52 PM, Tomas Mrozek wrote: > Right, I see another mistake in the code. Try: > > lib.stdheader.10 = CASE > lib.stdheader.10 { > key.field = header_layou

Re: [TYPO3-english] GIFBUILDER headings change on different content-element layout

2011-02-24 Thread Tomas Mrozek
Right, I see another mistake in the code. Try: lib.stdheader.10 = CASE lib.stdheader.10 { key.field = header_layout default = IMAGE default { titleText.field = header altText.field = header file = GIFBUILDER file { XY = [10.w]+5,[10.h]+10 backColor = #EAEAEA

Re: [TYPO3-english] GIFBUILDER headings change on different content-element layout

2011-02-24 Thread Tomas Mrozek
You mean the switching doesn't work or even the default version is not rendered. Tomas Mrozek ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Re: [TYPO3-english] GIFBUILDER headings change on different content-element layout

2011-02-24 Thread Enrique Moreno Tent
None of it seems to be working... Its like I cant call CASE on lib.stdheader.10 :S On Thu, Feb 24, 2011 at 11:52 AM, Tomas Mrozek wrote: > Oops. It should be: > > lib.stdheader.10 = CASE > lib.stdheader.10 { > key.field = header_layout > > default = IMAGE >titleText.field = header >alt

Re: [TYPO3-english] GIFBUILDER headings change on different content-element layout

2011-02-24 Thread Tomas Mrozek
Oops. It should be: lib.stdheader.10 = CASE lib.stdheader.10 { key.field = header_layout default = IMAGE titleText.field = header altText.field = header fontTag > file = GIFBUILDER file { XY = [10.w]+5,[10.h]+10 backColor = #EAEAEA 10 = TEXT

Re: [TYPO3-english] GIFBUILDER headings change on different content-element layout

2011-02-24 Thread Tomas Mrozek
Use CASE (1). In TYPO3 4.5.x you might be able to use it on "fontColor". If not, you can still use it on the whole "lib.stdheader.10". Try something like this (not tested): lib.stdheader.10 = CASE lib.stdheader.10 { key.field = header_layout default = IMAGE titleText.field = header a

[TYPO3-english] GIFBUILDER headings change on different content-element layout

2011-02-24 Thread Enrique Moreno Tent
Hello guys. Im writing my headings with GIFBUILDER like this, so they look nice and white: lib.stdheader.10 = IMAGE lib.stdheader.10{ titleText.field = header altText.field = header fontTag > file = GIFBUILDER file { XY = [10.w]+5,[10.h]+10 backColor = #EAEAEA