[TYPO3] gmenu, splitchar, xy-offset
Sebastian Fuchs
sebastian at hexerei.net
Fri May 26 16:15:12 CEST 2006
Thank you, Joey for this information. but this brings up a couple of
more questions. :(
First of all:
- When and where can I pay for my copy of the already famous TYPO3
cookbook ??? ;) (It has not been published yet, has it?)
- I took your second aproach by changing the TCA of the title field
through these lines of code:
$GLOBALS['TCA']['pages']['columns']['title']['config']['type'] = 'text';
$GLOBALS['TCA']['pages']['columns']['title']['config']['cols'] = '50';
$GLOBALS['TCA']['pages']['columns']['title']['config']['rows'] = '4';
Now i can use ENTER to seperate the lines (what is really cool first of
all because i dont have to parse out those split characters out of the
title).
BUT now the two lines are rendered starting with the same offset
(resulting in two overlaid lines of text). And the height of the image
is not changed at all.
I would like to tell GIFBUILDER to render an image with double height
(or even three times if there are three seperators). and how can i se
the offset of the two lines??
are there any other directives that i have to include in my ts settings?
thanks again,
sebastian
JoH wrote:
>
>
> Simply forget about that splitChar solution and try a completely different
> approach
> - again taken from the TYPO3 cookbook ;-)
>
> GIFBUILDER can render multiple line content by default.
> So the only thing you have to do is to use a multiple line field for the
> title _or_ make the title field a multiple line field.
> (You could switch the page type to "advanced" and use the abstract field, or
> you could change the TCA for the title field to render BE form entries as
> textarea)
> Then you can use ENTER instead of a splitChar and this will be recognized by
> the GIFBUILDER.
> This way you don't need any if-statement, since the whole text is rendered
> in Part 10 of the GIFBUILDER.
>
> Joey
>
More information about the TYPO3-english
mailing list