[TYPO3-english] Change label in filelinks

James Corell jcorell at e-p-c-s.com
Wed Feb 3 00:04:50 CET 2010


In TYPO3 v. 3 I had an extension that secured RTE links to /fileadmin files
by a combination of TYPO3 login and .htaccess login. Since upgrading to
version 4, I no longer have that option.

I'm trying to solve the problem through the use of tt_content.uploads
(filelinks) and the jumpurl property. So far I've been able to secure
filelinks like so:

# Secure filelinks
tt_content.uploads.20 {
  linkProc {
    jumpurl = 1
    jumpurl.secure = 1
    jumpurl.damSecure = 1
    jumpurl.damSecure.errorPage=http://www.h-htube.com/index.html
    }
  }

What I'm having a problem with, however, is that filelinks don't format the
way I'd like them to. The default is:

<A HREF="link">File Name</A>

Description

How do I write the typoscript so that the description is the link label? I
keep trying different things but so far have been unable to affect the
formatting whatsoever.



James Corell, Programmer
EPCS
Websites That Work!
DSL for Businesses
219 Hayes Rd
P.O. Box 2018
Gaylord, MI 49734
www.e-p-c-s.com, jcorell at e-p-c-s.com
Office 989-732-1366 M-F 9-5 p.m.
Cell 989-619-0200
Fax 606-752-1366



More information about the TYPO3-english mailing list