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 *
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
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
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
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
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 {
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
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
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
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
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
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
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
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
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:
15 matches
Mail list logo