Hello list !

I'd like to display a content (id 587) in a page only if the current
page has no content AND if it has no child pages (subpages).

I tried that but it doesn't work :

lib.content = RECORDS
lib.content {
source.current = 1
tables = tt_content
source.ifEmpty = 587
stdWrap.wrap = |
stdWrap.required = 1
}

lib.content.if.isFalse.numRows {
table = pages
select {
pidInList = this
# Pages non masquées
where = pages.hidden=0
# Pages non masquées dans le menu
andWhere = pages.nav_hide=0
}
}

How can I do ?

Thank you by advance for your help !

aliasjcdenton
_______________________________________________
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Reply via email to