[TYPO3-templavoila] Links without showing the complete path

Steffen Kamper info at sk-typo3.de
Tue Jan 26 11:17:00 CET 2010


Hi,

Chris Bernhard schrieb:
> Hi @ all,
> 
> currently i have a content element mapped
> as an link and i want to allow the editor
> to place pdf downloads within an FCE.
> 
> Everything works fine, but i dont want to
> show the complete path in the download description, but
> only the file name.
> 
> Also:
> 
> <a 
> href="fileadmin/user_upload/documents/pdf/t3n_06-01_directmail.pdf">t3n_06-01_directmail.pdf</a> 
> 
> 
> and not this:
> 
> <a 
> href="fileadmin/user_upload/documents/pdf/t3n_06-01_directmail.pdf">fileadmin/user_upload/documents/pdf/t3n_06-01_directmail.pdf</a> 
> 
> 
> This is the TS within the DS:
> 
> 10 = TEXT
> 10.typolink.parameter.current = 1
> 
> Is there any way to realise this?
> 

you could use the split function if the number of "/" always are the 
same. Also you could provide a label field the editor fills out.

vg Steffen


More information about the TYPO3-project-templavoila mailing list