[TYPO3-dev] rendering content based on $type
Horn Gábor
gabor at h3online.hu
Mon May 11 17:58:38 CEST 2009
Hello,
i wrote a small extension and i would need it to play nicely with
pdf_generator2 :) Unfortunatelly it seems i cannot solve it in css
alone, so i would need a way that my plugin recognizes if it's output
will be used by pdf_generator2 and do the rendering accordingly.
Basically i think if i knew the value of 'type' parameter i would be
okay, but i have problems getting it in a reliable way which works with
realurl and SimulateStaticDocuments ( t3lib_div::GPVar() doesn't return
it correctly in those cases, and ofc i cannot find it in $this->piVars[]
as well).
Maybe it's a very simple thing and i just overlooked something, but can
sy help me please what is the correct way in my plugin to detect it?
thanks, Gabor Horn
More information about the TYPO3-dev
mailing list