[Typo3] Conditions / PageID
Alexander Koberl
alexander.koeberl at bobic.de
Wed Aug 24 17:25:01 CEST 2005
Hi Sven,
conditions are coded like this:
# at first your "default" value (the "else" case), your Example:
FOOTER = TEXT
FOOTER.value = Hello
# then your exeption (the "if" case), start with your condition, at best
finished with [global] :-)
[globalVar = GP:L = 1]
FOOTER.value = Hello you!
[global]
I didn't realy understand what you want to know with the pageID, hope this
is what you need to know:
FOOTER = TEXT
#global means the $GLOBAL Variables, id is the actual pageID
FOOTER.data = global:id
#for example: field means that a specific field from the actual row of the
database-table "pages" is shown here. you can get every field you like to
get
FOOTER.data = field:title
greetz
Alex
-----Ursprungliche Nachricht-----
Von: typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de]Im Auftrag von Sven
Osterwalder
Gesendet: Mittwoch, 24. August 2005 09:09
An: 'TYPO3 English'
Betreff: [Typo3] Conditions / PageID
Hello list,
I have three questions :-)
1. Is it possible to say a mark should have a specific page-id?
I.E.: FOOTER = PAGE
FOOTER.pageID = 25
1.1 If it is, how is this done with simulateStaticDocuments? I.E. when a URL
looks like this: http://www.domain.ch/site/19.0.html?L=1
2. I have a problem with a condition. The condition looks like this:
FOOTER = TEXT
[globalVar = GP:L = 0]
FOOTER.value = Hello
[else]
FOOTER.value = Hello you!
[end]
At the moment it's always "Hello you!". What am I doing wrong
with the condition?
My URL looks like this: http://www.domain.ch/site/19.0.html?L=0
or http://www.domain.ch/site/19.0.html?L=1
Thank you and with kind greetings
Sven Osterwalder
_______________________________________________
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