[TYPO3-english] Check if an area doesn't contain elements

JoH asenau info at cybercraft.de
Thu Dec 17 12:08:37 CET 2009


>> lib.btm_elm_1 = COA
>> lib.btm_elm_1 {
>>     10 = RECORDS
>>     10 {
>>         source.current = 1
>>         tables = tt_content
>>     }
>>     20 = COA
>>     20 {
>>         10 = RECORDS
>>         10.dontcheckPid = 1
>>         10.tables = tt_content
>>         10.source = 47
>>         if.isFalse.current = 1
>>     }
>>     stdWrap {
>>         required = 1
>>         wrap = <!--TYPO3SEARCH_begin--> | <!--TYPO3SEARCH_end-->
>>     }
>> }
>>
>> This way you don't use stdWrap AND you don't use an additional
>> lib.whatever. If this still doesn't work, this simply means you got
>> a problem with element
>> 47.
>
> It still doesn't show the default element (uid:47).
> uid:47 is located at the frontpage where it shows beautifully :-)

Did you try this one:

lib.btm_elm_1 = COA
lib.btm_elm_1 {
    10 = RECORDS
    10.dontcheckPid = 1
    10.tables = tt_content
    10.source = 47
}

or even less

lib.btm_elm_1 = TEXT
lib.btm_elm_1.value = I am here

If this still doesn't show, you didn't implement lib.btm_elm_1 correctly in
your TV structure.

HTH

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com




More information about the TYPO3-english mailing list