[TYPO3] Change Link File Name tt_news
Tom Sotil
tom.sotil at 555webdesign.com
Mon Nov 20 20:22:11 CET 2006
Hello dear TYPO3 Helpers and Friends,
I was wondering if and where it is possible to change the filelink
name-behaviour.
Example: <a href=path/mysong.mp3>mysong.mp3</a> <- now
new: <a href=path/mysong.mp3><img src=mp3.jpg /></a> <-new
The reason for this is that I would like to make with the extension
tt_news a list of available mp3 files (and video) for download. Instead
of the filename appearing it would be nice to have a standard image for
the mp3s and a standard image for the video.
I thought of something like this:
#####EXAMPLE CODE - NOT REAL JUST AN EXAMPLE!!!##########
[GLOBALS: FILEXT==.mp3]
linkwrap = <img src='mp3.jpg' />|
[GLOBALS: FILEXT==.wmv]
linkwrap = <img src='video.jpg' />|
#############EXAMPLE END##################
I'm also not so satisfied with the content-item 'filelinks' that it's
showing only the filename. It would be nice to be able to enter any text
for appearance. like <a href='mypdf.pdf'>This is my new essay</a>.
Any ideas?
Dimitry?
Thanks for any help.
Tom
More information about the TYPO3-english
mailing list