[Typo3] Problem to display the "field = title" on my page
a.lim
funkycms at axidea.fr
Wed Aug 17 11:02:30 CEST 2005
Yeah thanks for your response. I tried to make it that way too but it did
not work. It's quite disappointing not to map my field. I need to put it in
a specified place in the page. And strangely I do not have <TypoScript>
section when I do that way. So I had one after the <e-Type> tag and I wrote
my code just after but I returned me an error when I tried to view the page.
Anyway. How can put it in the good section of the page if I am not mapping
it?
Have you an other idea?
Thanks in advance,
Adam LIM
-----Message d'origine-----
De : typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de] De la part de
Christopher
Envoyé : mardi 16 août 2005 16:47
À : TYPO3 English
Objet : Re: [Typo3] Problem to display the "field = title" on my page
Hi,
On 16/08/05, a.lim <funkycms at axidea.fr> wrote:
> Hi y'all !!
>
> I got a little problem to display the title of my page. I got a <span> tag
> that I mapped as an cObject. This <span> is used to allow me to change
> dynamically the <legend> tag of a <fieldset> section tag. What I wanna do
is
> to put the name of the page I view as the legend of my fieldset. The
> fieldset the container for my content. For info, I got a <div> tag mapped
as
> content element.
>
> This is the code I wrote:
>
>
>
> lib.fieldset = TEXT
>
> lib.fieldset {
>
> field = title
>
> wrap = <span class="title"> | </span>
>
> }
>
>
>
> The problem is that nothing is displayed. Otherwise I can display the
title
> if I add this code
>
>
>
> Page.5 = TEXT
>
> Page.5 < lib.fieldset.
>
>
>
> But the title is displayed on the left corner of the page. This is not
what
> I wanna do. If someone could help me or give me a hint, it would be cool.
>
lib.fieldset = TEXT
lib.fieldset {
data = page:title
wrap = <span class="title"> | </span>
}
Have a look at the section 'TemplaVoila GIFBUILDER fontcolor from
selectorbox?' on the page
http://wiki.typo3.org/index.php/TemplaVoila#Using_Gifbuilder_with_other_TV_f
ields_as_parameters.
The subject isn't directly related to your question, but there is a
very clear answer given to why .field doesn't work the same in TV as
it does elsewhere.
-Christopher
_______________________________________________
Typo3-english mailing list
Typo3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
More information about the TYPO3-english
mailing list