[TYPO3-UG Dutch] optellen 2 values van register

Emiel Nijpels Emiel.Nijpels at vara.nl
Tue May 11 14:00:17 CEST 2010


Bij prioriCalc wordt zo te zien eerder uitgevoerd dan insertData.
Een oplossing is misschien om dit:

40.insertData=1

te veranderen naar:

40.stdWrap.insertData=1

zodat de insertData eerder wordt uitgevoerd.

Met vriendelijke groet,

Emiel Nijpels

-----Oorspronkelijk bericht-----
Van: typo3-ug-dutch-bounces at lists.typo3.org [mailto:typo3-ug-dutch-bounces at lists.typo3.org] Namens Rob De Vries
Verzonden: dinsdag 11 mei 2010 13:54
Aan: typo3-ug-dutch at lists.typo3.org
Onderwerp: [TYPO3-UG Dutch] optellen 2 values van register

Hallo,

sorry voor de dubbele post in ENG lijst. heb het idee dat die lijst niet meet zo
actief is als een paar jaar terug.

ik zou graag een paar values die uit een register komen optellen, maar dit lukt
me niet:

lib.output = COA
lib.output {
        20 = LOAD_REGISTER
        20 {
        20.numRows.table = tt_content
        20.numRows.select.pidInList = this
        20.numRows.select.where = tx_templavoila_ds = 2 AND deleted=0 AND
hidden=0

        }

        21 = LOAD_REGISTER
        21 {
        21.numRows.table = tt_content
        21.numRows.select.pidInList = this
        21.numRows.select.where = tx_templavoila_ds = 5 AND deleted=0 AND
hidden=0
        }

        22 = LOAD_REGISTER
        22 {
        22.numRows.table = tt_content
        22.numRows.select.pidInList = this
        22.numRows.select.where = tx_templavoila_ds = 6 AND deleted = 0 AND
hidden=0
        }

        40 = TEXT
        40.value = {register:20}+{register:21}
        40.insertData=1
        40.prioriCalc = 1
        40.wrap = <br />SUM=|
}

output:  SUM=0

de uitkomst zou 4 moeten zijn.

iemand enig idee waarom dit niet lukt ?

tnx
Rob
--
--------------------------
Rob De Vries
www.rob-ot.be

_______________________________________________
TYPO3-UG-Dutch mailing list
TYPO3-UG-Dutch at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-ug-dutch

De informatie verzonden met en of in dit e-mail bericht is uitsluitend bestemd voor de geadresseerde(n). Gebruik van deze informatie door anderen dan geadresseerde(n) is verboden, behoudens indien en voorzover anders is aangegeven. Openbaarmaking, vermenigvuldiging, verspreiding, en/of verstrekking van deze informatie aan derden is NIET toegestaan, behoudens indien en voorzover anders is aangegeven. Omroepvereniging VARA staat niet in voor de juiste en volledige overbrenging van de inhoud van een verzonden e-mail, noch voor tijdige ontvangst daarvan.

The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the use of the individual or entity to whom it is addressed and others authorised to receive it. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful, unless and as far as otherwise is indicated in the contents. Vara is neither liable for the proper nor complete transmission of the information contained in this communication nor for any delay in its receipt.


More information about the TYPO3-UG-Dutch mailing list