Re: [TYPO3-german] pdf-generator generiert keinen Output

2010-08-20 Diskussionsfäden Thomas Wehr
Am 20.08.2010 18:03, schrieb Thomas Wehr:
 Hallo Group
 
 beim Aufruf von website.pdf
 erhalte ich folgende Ausgabe (Typo3 4.4.1 PDF-Generator 3.3.0):
 
 
 HTMLDOC Problem:
 Htmldoc produced no pdf-output.
 Commandline:
 /usr/bin/htmldoc -v -t pdf13  --webpage -f
 /www/htdocs/w00cd842/typo3temp/hd_YLwGWZ -
 2/www/htdocs/w00cd842/typo3temp/se_qSD5Qw
 
 
 This is the (stderr) output of the htmldoc command without the
 htmldoc_append parameters:
 If you see no errors here please check your htmldoc_append parameters too.
 HTMLDOC(10660) INFO: HTMLDOC 1.8.27 starting in CGI mode.
 HTMLDOC(10660) INFO: TMPDIR is (null)
 HTMLDOC(10660) ERR005: PATH_INFO is not set in the environment!
 Can't open display:
 
 
 
 
 
 
in
gen_pdf.php hinter Zeile 164   putenv(HTMLDOC_NOCGI=1); eingefügt
(s.u.) zwang HTMLDOC nicht im cgi-Mode zu laufen und brachte die
gewünschte Ausgabe sieh Snipplet im Zusammenhang:


//--
// now pipe the html through htmldoc
putenv(HTMLDOC_NOCGI=1);

$tmpname = tempnam(getcwd().'/typo3temp', 'hd_');
if ($parameters[no_popen]) {
// replace path to images with the correct path since the html 
will
reside in typo3temp

$GLOBALS{TSFE}-content=preg_replace('/img.*?src=\(?!\/)/i','$0'.'../',$GLOBALS{TSFE}-content);





LG
Thomas Wehr

___
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german


[TYPO3-german] gmenue_layers - 1. Menüeint rag wird manchmal nicht angezeigt

2010-07-13 Diskussionsfäden Thomas Wehr
Moin Group

ich versuche mich an GMENU_LAYERS
dabei stosse ich auf folgendes Phänomen:

Der erste Menüneintrag wird manchmal nicht angezeigt - sehe ich mir das
Layout an, so stelle ich fest, dass im Normalmodus die Grafik nur 1px
breit ist, während sie im RO sauber erstellt wurde

Allerdings ist dies nicht durchgehend der Fall - Sehr häfig funktioniert
die Darstellung des ersten Menüeintrages.

hat jemand eine Idee? Danke
Thomas

Anbei die verwendete Struktur  markiert den Zeilenanfang:


 page.includeLibs.gmenu_layers = media/scripts/gmenu_layers.php

 page.10 {
   template = FILE
   template.file = template*.htm
   workOnSubpart = DOCUMENT_BODY
  subparts.MENU = HMENU
   subparts.MENU.1 = GMENU_LAYERS
   subparts.MENU.1 {
 wrap=table class=menu_table width=100%trtdtable 
 class=menu_table align=lefttr|/tr/table/tdtdtable 
 class=menu_table_right align=righttrtd width=300px 
 align=rightSinfonisches Blasorchester in Hannover 
 e.V./td/tr/table/td/tr/table
 //wrap=table cellspacing=0 cellpadding=0 align=left 
 color=#00tr|/tr/table
 layerStyle = 
 position:absolute;left:30px;top:30px;width:10px;VISIBILITY:hidden;  
 xPosOffset = 10
 //yPosOffset = 20
 lockPosition = y  
 expAll=1
 //setFixedWidth = 1
 leftOffset = 0
 topOffset = 23
 hideMenuWhenNotOver = 1
 //hideMenuTimer=250
 relativeToTriggerItem = 1
 relativeToParentLayer = 1
 
 NO {
 wrap=td width=12px|/td
 backColor = #00
 setFixedWidth = 0
 XY = [10.w]+20,20
 10 = TEXT   
 10.text.field = title
 //10.outline
 10.fontColor = #FF
 10.fontSize= 15
 
 //10.fontFile= fileadmin/fonts/ariblk.ttf
 10.fontFile= fileadmin/fonts/arial.ttf
 10.niceText = 1 // bei Problemen im Grafik setup die Maskendefinition 
 prüfen
 10.niceText.sharpen = 99
 10.niceText.scaleFactor = 4
 //10.antiAlias= 1
 10.offset = 10,15
 }
   RO  .NO
   RO.backColor =  #00
   RO.10.fontColor =  #FFCC33
   RO = 1
 }
   subparts.MENU.2 = GMENU
   subparts.MENU.2 {
   NO {
 setFixedWidth = 0
 wrap = |BR
 //Gesplitteter Hintergrund:
 //backColor = #FF: *1|*| #11: *1 || #11 : *2.0 |*|#FF11FF: *1
 //
 backColor = #00
 XY = 160, 20
 
 10 = TEXT   
 10.text.field = title
 //10.outline
 10.fontColor = #FF
 10.fontSize= 15
 10.fontFile= t3lib/fonts/arial.ttf
 10.niceText = 1 // bei Problemen im Grafik setup die Maskendefinition 
 prüfen
 10.niceText.sharpen = 99
 10.niceText.scaleFactor = 4
 //10.antiAlias=0
 10.offset = 10,15
 
 
 }  
   RO  .NO
   RO.backColor =  #00
   RO.10.fontColor =  #FFCC33
   RO = 1
 }

___
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german