[TYPO3-german] tt_news über pdf_generator2 als pdf ausgeben

Tim Zech tizech at gmail.com
Tue Jun 20 14:51:25 CEST 2006


Hallo,

ich will die News von tt_news über pdf_generator als PDF-Download zur
verfügung stellen. leider bekomme ich nur eine weiße Seite.

Beim zweiten Aufruf des Links (z.B. Reload) bekomme ich eine
Fehlermeldung von html2ps.

Testweise habe ich noch &no_cache=1 angehängt, dann bekomme ich nur
noch eine weiße Seite.

Ich bin froh um jeden Tipp woran das liegen könnte, denn das Problem
besteht wirklich nur bei tt_news.

Hier noch mein TypoScript.

	lib.PDF = COA
	lib.PDF {
		wrap = &#160;&#160;&#160;<img
src="{$tz_templateBaseUrl}images/icons/pdf.gif" alt="PDF-Version"
/>&#160;&#160;<a href="|&no_cache=1" title="PDF-Version"
class="flink">PDF-Version</a>
		10 = USER_INT
		10 {
			userFunc = tx_pdfgenerator2->getPdfTarget
			userFunc.include_post_vars = 1
		}
	}

pdf_generator {
	typeNum = 123
	includeCSS.1 = {$tz_templateBaseUrl}css/print.css
	includeCSS.1.media = screen
	50 >
	50 = TEMPLATE
	50 {
		template = FILE
		template.file = {$tz_templateBaseUrl}print.html
		workOnSubpart = DOKUMENT
		marks {
			PATH = TEXT
			PATH.value = {$tz_templateBaseUrl}images/logo.gif
			TEXT < styles.content.get
			CLICKPATH =
			BACKLINK =
		}
	}
}

und hier der Link wie ich es aufrufe:

http://server/index.php?id=83&type=123&tx_ttnews[year]=2006&tx_ttnews[month]=04&tx_ttnews[tt_news]=2559&cHash=df906e411d
 (&no_cache=1)

In Hoffnung auf Antworten.

Gruß
Tim


More information about the TYPO3-german mailing list