[Typo3] [TemplaVoila][How to get the current page title and titleof page one level be ]

a.lim funkycms at axidea.fr
Fri Sep 30 11:15:44 CEST 2005


Try to use page:title instead of field:title

Lib.contenido = TEXT
Lib.contenido {
dataWrap = <font face="verdana" size=1>{page:title}</font>
}

-----Message d'origine-----
De : typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de] De la part de
A00781428 at itesm.mx
Envoyé : vendredi 30 septembre 2005 03:01
À : typo3-english at lists.netfielders.de
Objet : [Typo3] [TemplaVoila][How to get the current page title and titleof
page one level be ]

Hi,
as you can notice i'm starting with typo3 and i got stuck, so that's why
i'm asking your help.

What i want to do is to get de current page title and the page title of the
page one level before the current page and display both
First of all i created in DS a field type=Element and Editing
type=TypoScript
Object Path, the object is lib.contenido, 
So in the setup i wrote this code:

lib.contenido = TEXT
lib.contenido.field = title

also i tried this one:
lib.contenido = TEXT
lib.contenido.data = global:id

and this one:
lib.contenido = COA
lib.contenido.10 = TEXT
lib.contenido.10 {
  value = This is the page title:
  wrap = <font face="verdana" size=1>|</font>
  wrap2 = | <BR>
  case = upper
}
lib.contenido.20 = TEXT
lib.contenido.20.field = title

but nothing worked, in the last example i just saw "This is the page title:"

i really can't understand why it is not working

the type of menu i'm using is TMENU


i really hope u can help me
Thank you

Anais Antonio

_______________________________________________
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