[TYPO3-english] TYPO3 Version 6.0.4 unable to set target _blank for downloads

Dirk Wenzel wenzel at webfox03.de
Thu Apr 18 10:38:26 CEST 2013


Hi,
the 'File Links' content element has a field 'target'.
Setting this field doesn't have any effect - the link is being rendered 
without a target attribute.

css_styled_content overrides the target for typolinks per default:

tt_content.uploads.20.renderObj.20.typolink {
  parameter {[...]}
  target {
   override = _blank
   override {
    if.isTrue.data = TSFE:dtdAllowsFrames
   }
  }
}

This should prevent the target attribute for document types without frames.

But my customer insists in having a target _blank for pdf-Links (even 
though the document type is XHTML+RDFa 1.0.

So I tried to set a target

[...] typolink {
  target = _blank
  target.override >
}

and even unset the
lib.parseTarget >

But none of them works.

Any hints?

Kind regards
Dirk


More information about the TYPO3-english mailing list