[TYPO3] Change Link File Name tt_news with DAM-CONNECTOR
Tom Sotil
tom.sotil at 555webdesign.com
Wed Nov 22 19:02:02 CET 2006
Well it does work.
I have to go now, but I'll paste the TS-Code here tomorrow...(ALWAYS
clear the cache ;-)
Thanks for your help,
Tom
Tom Sotil wrote:
> Hello Krystian
>
> I would like to make the .20 work as an Image.
> Right now it's not showing anything...
> Any Help apreciated,
> Tom
>
> plugin.tt_news {
> displaySingle {
> damelements_stdWrap.wrap = <dl class="news1-single-files"><dt></dt>|</dl>
> damelements_alternatingLayouts = 1
> damelements_item_0_stdWrap.wrap = |</dd>
> damelements_CObject = COA
> damelements_CObject {
>
> 10=CASE
> 10.key.field = file_type
>
> # settings for default type
> 10.default=COA
> 10.default {
> 10 = TEXT
> 10 {
> value = <dd class="{field : file_type}" />
> insertData = 1
> }
> 20 = IMAGE
> 20 {
> #field = title
> #crop = 200|...|
> file = fileadmin/template/main/images/mp3-label.gif
> imageLinkWrap = 1
> imageLinkWrap.enable = 1
> imageLinkWrap.typolink.parameter = {field : file_path}{field :
> file_name}
> altText = Shiur Hören
> titleText = Shiur Hören
> params = class="linkpic"
> #typolink.parameter = {field : file_path}{field : file_name}
> #typolink.parameter.insertData = 1
>
> }
> 30 = TEXT
> 30 {
> field = file_size
> bytes = 1
> bytes.labels = " B| KB| MB| GB"
> noTrimWrap = | (|)|
> }
> 40 >
> 50 >
> }
> }
> }
> }
More information about the TYPO3-english
mailing list