[TYPO3-shop] tt_products 2.7.0 marker as cobj
Niels Tiedt
nt at typo3-coder.org
Tue Dec 16 12:39:32 CET 2008
hi list
in tt_products you can use own markers.
e.g. ###OWN_MARKER###
plugin.tt_products.marks.OWN_MARKER = ghghghgh
but it don?t render it as cobj.
e.g.
plugin.tt_products.marks{
OWN_MARKER = COA_INT
OWN_MARKER {
10 = TEXT
10.value = OWN_MARKER
}
}
is it posible to insert the function in the extension?
i use this snipped in combination with an modified
marker/class.tx_ttproducts_marker.php
row 104
$markerArray['###'.$key.'###'] = $value;
replaced with
if($this->conf['marks.'][$key][$value]){
$markerArray['###'.$key.'###'] =
$this->cObj->cObjGetSingle($this->conf['marks.'][$key],$this->conf['marks.'][$key.'.']);
}else{
$markerArray['###'.$key.'###'] = $value;
}
with the modified version u can render every ts in the own marker.
e.g. render the mini-basket link as realurl-link
oder use it to insert forms in a single view
these things i have build with the modified version in one t3-installation
1: used it in combination with typo3 form to make tt_products an auction
plattform in one tree.
- bidding
- bid-timer who counts down. if the auction end no biddind is posible
- 2 bid-mails(admin and user)
- use sr_feuser_register and fill in the userdata with own-markers.
2: in another tree i used an different template with own markers for an
inquiry form
- with own form field
- validation.
in the last tree i use it as an shop extension :-)
i hope you can need it ;-)
greets niels tiedt
More information about the TYPO3-project-tt-products
mailing list