[TYPO3-commerce] fields configuration and stdWrap
Thomas Koetter
news at tkoetter.de
Mon Sep 24 13:51:12 CEST 2007
Hi,
Is the stdWrap functionality in commerce still buggy or am I just too
blind/stupid?
If I try to wrap certain fields some don't output the wrap:
plugin.tx_commerce_pi1 {
singleView {
articles {
fields {
title = stdWrap
title.wrap = ANYWRAP|ANYWRAP
subtitle = stdWrap
subtitle.wrap = ANYWRAP|ANYWRAP
eancode = stdWrap
eancode.wrap = ANYWRAP|ANYWRAP
ordernumber = stdWrap
ordernumber.wrap = ANYWRAP|ANYWRAP
}
}
}
}
The wraps for title and eancode work while those for subtitle and
ordernumber don't.
Another problem I've run into is using IMAGE instead of stdWrap. According
to the comments in the source code it should be possible to use IMAGE,
IMGTEXT and GIFBUILDER.
So I would think that something like this should work:
plugin.tx_commerce_pi1 {
singleView {
articles {
fields {
title = IMAGE
title.file = myimage.gif
}
}
}
}
But I don't get any output.
IMGTEXT seems to work.
It isn't mentioned in the comments but I assume that GIFBUILDER would be
used as usual, i.e. as a source for the file property of an IMAGE object.
So in the example above it would be title.file = GIFBUILDER. Is that
correct?
Thanks for any hints.
Thomas
More information about the TYPO3-project-commerce
mailing list