[TYPO3-english] powermail 2.6.1 with Typoscript Object
Idar Creative
office at idar.nl
Mon Aug 31 11:48:22 CEST 2015
Hi,
I'm using powermail 2.6.1 and I have a small problem/question:
For a selectfield (dropdownbox) I use a Typoscript Object (lib.accomodaties)
The TO (lib.accomodaties) gets all the accomodation records (+/-1000
records) (code Below)
But the customer has more that 1 option: 1st, 2nd, 3rd and 4th
accomodation choice, which all are using that same TO.
The problem is that the page takes too long to render, because for every
selectfields (1st, 2nd.. etc etc..) it retrieves all the records again.
Is there a way to speed the other selectfields, without keep
calling/rendering the TO?
Kind regards,
Idar
TO Code:
lib.accomodaties = COA
lib.accomodaties.wrap = |
lib.accomodaties.5 = TEXT
lib.accomodaties.5.value = Selecteer|Selecteer[\n]
lib.accomodaties.10 < tt_content.menu.20.1
lib.accomodaties.10.stdWrap.prepend.20.select.andWhere.dataWrap >
lib.accomodaties.10.includeNotInMenu = 1
lib.accomodaties.10.special.value.field >
lib.accomodaties.10.special.value = 2062,2101,2139,2103
lib.accomodaties.10.stdWrap.outerWrap = |
lib.accomodaties.10.wrap = |
lib.accomodaties.10.1.NO {
linkWrap = |
wrapItemAndSub = |
ATagBeforeWrap = 0
doNotLinkIt = 1
stdWrap.htmlSpecialChars = 0
stdWrap.cObject = COA
stdWrap.cObject {
10 = TEXT
10.field = subtitle//title
20 = TEXT
20.value = |
40 = TEXT
40.field = subtitle//title
40.noTrimWrap = |||
stdWrap.wrap = |[\n]|*||[\n]|*||
}
}
More information about the TYPO3-english
mailing list