[TYPO3-commerce] Applying a TS if-condition on an attribute
Robert Böttner
r.boettner at gmx.de
Thu May 10 20:56:05 CEST 2007
Hi again,
sorry, forget the first one. I made a subject in german :-/
does anyone has more experience with TS ifs? I need to wrap an attribute
value in singleView by a condition. Only the attribute named "endurance"
should be wrapped.
TS:
plugin.tx_commerce_pi1 {
singleView.attributes {
fields {
value = stdWrap
value.wrap = <span class="special">|</span>
value.wrap.if {
value = endurance
equals.field = title
}
}
}
}
Maybe this should better go to the english list. But I´ll leave it here
first...
Cheers
Robert.
More information about the TYPO3-project-commerce
mailing list