Thanks, that helped! I was a quite stupid not to consider this simple possibility.
Lorenz > -----Original Message----- > From: [email protected] [mailto:typo3-english- > [email protected]] On Behalf Of JoH asenau > Sent: Friday, March 05, 2010 6:30 PM > To: [email protected] > Subject: Re: [TYPO3-english] Gettin the total of two typoscript objects > > > I have two typoscript objects containing an integer value, let's call > > them > > > > lib.price_normal and > > lib.price_discount > > > > Is there any way to generate a third typoscript object > > > > lib.price_sum > > > > containg the sum of price_normal and price_discount? > > > > With typoscript calc functions I can calculate with one "dynamic" > data > > object with a "static" value, but I didn't find a way to calculate > > with two "dynamic" objects. > > Put them into a COA and use stdWrap.prioriCalc > > lib.price_sum = COA > lib.price_sum { > 10 < lib.priceNormal > > 20 = TEXT > 20.value = + > > 30 < lib.price_sum > > stdWrap.prioriCalc = 1 > } > > Not tested but HTH > > Joey _______________________________________________ TYPO3-english mailing list [email protected] http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
