[TYPO3-shop] How to link the datasheet
Christian Hernmarck
linux at lists.hernmarck.ch
Mon Mar 14 15:24:26 CET 2011
ok, got it.
In 2.7.2.1 it works, in 2.7.2.2 not...
I'm opening a bug report....
Ch
Christian Hernmarck schrieb am Montag, 14. März 2011 13.43 im Beitrag
<mailman.1.1300106599.29969.typo3-project-tt-products at lists.typo3.org>:
> Addendum
>
> also this code does not do the trick
>
> conf.tt_products.ALL {
> orderBy = sorting
> language.type = noTranslation
>
> fieldLink {
> datasheet =
> uploads/tx_ttproducts/datasheet/###PRODUCT_DATASHEET###
> datasheet.ATagParams=class="datasheetClass"
> }
>
> ###PRODUCT_LINK_DATASHEET### ... ###PRODUCT_LINK_DATASHEET###
> does comment only...
>
> and there's no link!
>
> ###PRODUCT_DATASHEET### is replaced with the filename - so I'd need
> ###to
> set the link manually in the template as statet in the TS code
> above...
>
> I don't know...
>
> /Ch
>
> Christian Hernmarck schrieb am Samstag, 12. März 2011 23.51 im
> Beitrag
>
<mailman.1.1299970317.4373.typo3-project-tt-products at lists.typo3.org>:
>
>> Hi
>>
>> I use tt_products 2.7(.2.) and want to make use of the datasheet -
>> show a link to the pdf...
>>
>> now - what are the markers to use?
>>
>> all I found in the example templates (partly shortened):
>>
>> example_template_bill_de.tmpl:
>> <!-- ###PRODUCT_LINK_DATASHEET### begin -->
>> <p><b><i>Datenblatt</i></b>###ICON_DATASHEET###</p>
>> <!-- ###PRODUCT_LINK_DATASHEET### end -->
>>
>> products_css_de.html:
>> <div class="product_datasheet">###PRODUCT_LINK_DATASHEET### als
>> PDF-Datei zum freien Download ###PRODUCT_LINK_DATASHEET###</div>
>>
>> products_de.html:
>> ###LINK_DATASHEET### ###ICON_DATASHEET### ###LINK_DATASHEET###
>> ###<br>
>>
>> tt_products_example_css.html:
>> <li><!-- ###LINK_DATASHEET### begin -->Infoblatt [PDF]<!--
>> ###LINK_DATASHEET### end --></li>
>>
>>
>> LINK_DATASHEET does nothing in my single display
>> PRODUCT_LINK_DATASHEET does comment the text in between... (as in
>> product_css_de.html)
>> <div class="product_datasheet"><!-- als
>> PDF-Datei zum freien Download --></div>
>>
>> I don't know how to make a link...
>>
>> Thanks for help
>> Christian
More information about the TYPO3-project-tt-products
mailing list