[Typo3-UG Oesterreich] Re: GMENU - Grafik wird nicht eingebunden!

andreas:steinhuber andreas.steinhuber at sa4.at
Sun Nov 2 20:04:41 CET 2003


Also mal vorweg: Herzlichen Dank Gerhard!!

Ich habe eine "Lösung" gefunden. Ich kann es jedoch nicht genau sagen,
ob typoscript
oder die version von imagemagick (5+) dafür verantwortlich ist!

Wenn ich zwei mal die selbe Grafik dem Gifbuilder übermittle,
funktioniert alles prächtig. 
(schau dir speziell den Teil im Code an:
      4 = IMAGE
      4.file = fileadmin/sod/img/body/mmenu_off.gif
      5 = IMAGE
      5.file = fileadmin/sod/img/body/mmenu_off.gif )

thanx to Murthy's law!!

andreass

<quote>

  temp.menu1 = HMENU 
  temp.menu1.1 = GMENU 
  temp.menu1.1 { 
  expAll=0
    NO { 
      wrap = | <img src="clear.gif" width="5" height="71" border="0">
      XY = [4.w],[4.h]
   
      4 = IMAGE
      4.file = fileadmin/sod/img/body/mmenu_off.gif
      5 = IMAGE
      5.file = fileadmin/sod/img/body/mmenu_off.gif

      10= TEXT 
      10.text.field = title 
      10.fontFile = fileadmin/fonts/DIGIMED.TTF
      10.fontColor = #ffffff
      10.fontSize = 16 
      10.antiAlias= 0
      10.niceText = 1
      10.niceText.scaleFactor = 3
      10.offset = -1, 60
      10.align = center 

    } 
      ACT < .NO 
      ACT = 1 
      ACT { 
      5 = IMAGE 
      5.file = fileadmin/sod/img/body/mmenu_on.gif
      10.fontColor = #ffffff
    } 
    
      RO < .NO 
      RO = 1 
      RO { 
      5 = IMAGE 
      5.file = fileadmin/sod/img/body/mmenu_on.gif
      10.fontColor = #ffffff
    } 
    } 
</quote>


> Hallo Andreas, nur so zum drüberstreuen habe ich auf einer 
> Seite einen 
> kleinen Test gemacht, bei mir klappt es.
> Testseite: http://www.freunde.theatersommer.at/index.php?id=29
> 
> Allerdings habe ich das script etwas verändert:
> 
> #**************
> # grafisches menu
> #**************
> 
>   temp.menu= HMENU
>   temp.menu.1 = GMENU
>   temp.menu.1.NO {
>       wrap = |<img src="fileadmin/clear.gif" width="5" height="71" 
> border="0">
>       XY = [4.w],[4.h]
>       4 = IMAGE
>       4.file = fileadmin/off.gif
>  
>       10= TEXT
>       10.text.field = title
>       10.fontFile = fileadmin/2004_test.ttf
>       10.fontColor = #000080
>       10.fontSize = 10
>       10.antiAlias= 0
>       10.niceText = 1
>       10.niceText.scaleFactor = 3
>       10.offset = 0, 60
>       10.align = center
>     }
> 
>       temp.menu.1.RO < temp.menu.1.NO
>       temp.menu.1.RO = 1
>       temp.menu.1.RO {
>       4 = IMAGE
>       4.file = fileadmin/on.gif
>       10.fontColor = #ff0000
>     }
>       temp.menu.1.ACT < temp.menu.1.NO
>       temp.menu.1.ACT = 1
>       temp.menu.1.ACT {
>       4 = IMAGE
>       4.file = fileadmin/on.gif
>       10.fontColor = #ff0000
>     }
>    
>     }
> 
> #**************
> # wrap content
> #**************
> 
> page.10 = TEMPLATE
> page.10 {
>   template = FILE
>   template.file = fileadmin/2004_test.html
>   workOnSubpart = DOCUMENT_BODY
> 
>   subparts.1ST_MENU < temp.menu
>   subparts.CONTENT_NORMAL < styles.content.get
>   subparts.CONTENT_LEFT < styles.content.getRight
> 
> Aufpassen: Ich habe auch ein paar fixe Werte verändert, damit 
> es bei mir 
> klappt (CONTENT_NORMAL, 1ST_MENU etc.)
> 
> Gerhard





More information about the TYPO3-at mailing list