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

2009-12-22 Thread Peter Niederlag
Hello, Jeppe Donslund schrieb: Nope. Doesn't show anything. Well, then the snippets in here are not effective after all. :- Best way probably is to get someone to help you straigt on your system. Greets, Peter -- Peter Niederlag http://www.niekom.de * TYPO3 EDV Dienstleistungen *

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

2009-12-22 Thread Steffen Kamper
Hi, Jeppe Donslund schrieb: Hi Loek. I have tried to put your code into my DS. field_bottom_element_1 type=array tx_templavoila type=array titleBundelement 1/title sample_data type=array numIndex index=0/numIndex /sample_data eTypece/eType

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

2009-12-17 Thread Jeppe Donslund
Hi Peter If it should not be an Objectpath Lib.btm_elm_1. What should it the be? btm_elm_1 should contain regular TYPO3 element, but if it doesn't. It should contain the element with uid 49. Jeppe Peter Niederlag skrev: Hello Jeppe, Does it work? Otherwise you are at least getting VERY

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

2009-12-17 Thread JoH asenau
Does it work? Otherwise you are at least getting VERY close. Jeppe Donslund schrieb: Hi Loek. [...] eType_EXTRA type=array objPathlib.btm_elm_1/objPath /eType_EXTRA [SNIP] In general you either define a local TypoSript-Setup INSIDE the datastructure OR

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

2009-12-17 Thread Tapio Markula
JoH asenau kirjoitti: Does it work? Otherwise you are at least getting VERY close. Jeppe Donslund schrieb: Hi Loek. [...] eType_EXTRA type=array objPathlib.btm_elm_1/objPath /eType_EXTRA [SNIP] In general you either define a local TypoSript-Setup INSIDE the

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

2009-12-17 Thread JoH asenau
lib.element1 = COA lib.element1 { 10 = RECORDS 10.dontcheckPid = 1 10.tables = tt_content 10.source = 47 } lib.btm_elm_1 = COA lib.btm_elm_1 { 10 = RECORDS 10 { source.current = 1 tables = tt_content stdWrap {

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

2009-12-17 Thread JoH asenau
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

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

2009-12-16 Thread Jeppe Donslund
Hi. I still have this question. I didn't finde anything useful. I just wnat to know how to find out if there are any element at the page. If not. Take lement with pageid 47. Regards Jeppe D. Jeppe Donslund skrev: I have fund this 10 = COA 10 { #10 = TEXT #10.value = This

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

2009-12-16 Thread Tyler Kraft
Hi, Does this work? lib.element1 = COA lib.element1 { stdWrap.wrap = !--TYPO3SEARCH_begin-- | !--TYPO3SEARCH_end-- # get the page content in some manner, either using CSC, content object, a record object, etc 10 styles.content.get 10.stdWrap.ifEmpty.cObject = RECORDS

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

2009-12-16 Thread Jeppe Donslund
Oh, I'm sorry, my mistake. In TemplaVoila i have made an Element. The editing type is Content Elements. It is this element I would like to check if it contains anything. If I should use your example I should make it editing type TypoScript Object Path, right? But if I do that I can't put

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

2009-12-16 Thread Tyler Kraft
Hi I have no idea as I don't use TV. Perhaps ask on the TV list. Good luck and sorry I couldn't help more T Jeppe Donslund wrote: Oh, I'm sorry, my mistake. In TemplaVoila i have made an Element. The editing type is Content Elements. It is this element I would like to check if it contains

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

2009-12-16 Thread Loek Hilgersom
Hi Jeppe, What you have to do when using TemplaVoila is this: - edit the DS of your TV template and find the part with the right 'area'. Take out the Typoscript part and replace it with this: TypoScript![CDATA[ 10 lib.field_bottomleft ]]/TypoScript (where field_bottomleft is the

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

2009-12-16 Thread Jeppe Donslund
Hi Loek. I have tried to put your code into my DS. field_bottom_element_1 type=array tx_templavoila type=array titleBundelement 1/title sample_data type=array numIndex index=0/numIndex /sample_data

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

2009-11-25 Thread Jeppe Donslund
Hi Peter I think what I need is the opposite of what would wrote if.isTrue.numRows { Does the area contain elements with PID from the actual page, show it. } else { Get the elements from the Global elements folder } Or maybe your code does that? Jeppe Peter Klein skrev: Hi Jeppe. You

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

2009-11-24 Thread Jeppe Donslund
Hi, I would like to know if it is possible to check wether an area contains elements or not. I have 3 elements in the bottom of my page. The user can but content in these elements but if they leave it empty on a page TYPO3 should use content from an other page using this TypoScript: