Danke - hat sich erledigt !
MfG
BK
Danke - hat sich erledigt !
MfG
BK
Schön, dass es bei Euch funktioniert. Bei mir leider noch nicht. Auch ich habe, wie vermutlich alle anderen hier auch, erst mal den Code aus typoscript by examle, bzw. aus der deutschen Doku von Robert Meyer kopiert. Und siehe da: nix funktioniert. Die Tipps mit Position des Layers helfen mir auch nicht, weil das Menue gar nicht erst im Quelltext auftaucht. Mein Beispiel sieht also genau so aus, wie das oben. Was muss ich tun?
Gruß Bernd
Hi,
also bei mir klappt es nur dann, wenn ich im Template -> 'Include static' folgendes einbinde:
styles.gmenu_layer.green
Erst dann wird mein Menü angezeigt.
Viel Erfolg
Ich habe noch etwas entdeckt - im Template -> Setup
includeLibs.gmenu_layers = media/scripts/gmenu_layers.php
(wenn die Schreibrechte des SysmLinks bzw. der Verzeichnisse nicht stimmen, muss man sich die gmenu_layers.php Datei ins fileadmin Verzeichnis kopieren - dann die untere Pfadangabe wählen!)
bzw.
includeLibs.gmenu_layers = fileadmin/gmenu_layers.php
ganz oben einfügen - dann funzt es auch ohne styles.gmenu_layer.green
!!
MfG
BK
Hi Leute
Ich habe exakt das gleiche Problem mit dem GMENU_LAYERS.
Ich habe mittlerweile auch alle Hilfestellungen, die hier erwähnt worden sind ausprobiert, aber nix half.
- styles.gmenu_layer.green eingebunden
- gmenu_layers nach fileadmin kopiert und Rechte geändert
Was habt ihr denn gemacht, damit das Menu endlich angezeigt wird?
Ich bin echt am verzweifeln.
Gruß
Gunnar
P.S. Falls jemand sich das einmal anschauen möchte? Vielen Dank
So falsch kann es nicht sein, denn wenn ich GMENU_LAYERS durch TMENU ersetze wird alles prima angezeigt.
# Default PAGE object:
page = PAGE
page.typeNum = 0
page.includeLibs.gmenu_layers = media/scripts/gmenu_layers.php
page.50 = TEMPLATE
page.50 {
template = FILE
template.file = fileadmin/start.html
workOnSubpart = DOKUMENT
marks.LOGO = IMAGE
marks.LOGO.file = fileadmin/logo_oben.gif
marks.NEWS = TEXT
marks.NEWS.value = Hier kommen die News hin.
marks.MENUOBEN = HMENU
marks.MENUOBEN.entryLevel = 0
marks.MENUOBEN.1 = GMENU_LAYERS
marks.MENUOBEN.1 {
layerStyle = postition:absolute; VISIBILITY:hidden
xPosOffset = -30
lockPosition = x
topOffset = 80
displayActiveOnLoad = 1
dontHideOnMouseUp = 1
NO.backcolor = #101010
NO.XY = [10.w]+10, 14
NO.10 = TEXT
NO.10.text.field = title
NO.10.offset = 5,10
}
marks.MENUOBEN.2 = GMENU
marks.MENUOBEN.2 {
wrap = <nobr>|</nobr>
NO.backColor = #404040
NO.XY = [10.w]+10,14
NO.10 = TEXT
NO.10.text.field = title
NO.10.offset = 5,10
}
marks.MENUUNTEN = HMENU
marks.MENUUNTEN.special = list
marks.MENUUNTEN.special.value = 3,2,9,8,7,6,5,4
marks.MENUUNTEN.entryLevel = 0
marks.MENUUNTEN.1 = TMENU
marks.MENUUNTEN.1.wrap = <font size=-1>|</font>
marks.MENUUNTEN.1.NO {
linkWrap = <font size=-1> | | </font>
}
}
Hi,
versuche mal ganz oben im Setup - also als ganz erstes !!
includeLibs.gmenu_layers = fileadmin/gmenu_layers.php
OHNE page. !!!
MfG
BK
nee, daran lag es nicht. Immer noch nix zu sehen o.O
Gruß
Gunnar
Muss ich vielleicht etwas anderes bei "include static" ausser "content (default)" laden?
Hi,
nein - ich hab auch contetn(default) !
warte mal.... ich teste den Code mal kurz 5 Minuten...
BK
Hi,
also bei mir funzt es so:
Ich musste nur
xPosOffset = -130
und
topOffset = 155
ändern !!!
marks.MENU_OBEN = HMENU
marks.MENU_OBEN.entryLevel = 0
marks.MENU_OBEN.1 = GMENU_LAYERS
marks.MENU_OBEN.1 {
layerStyle = postition:absolute; VISIBILITY:hidden
xPosOffset = -130
lockPosition = x
topOffset = 155
displayActiveOnLoad = 1
dontHideOnMouseUp = 1
NO.backcolor = #101010
NO.XY = [10.w]+10, 14
NO.10 = TEXT
NO.10.text.field = title
NO.10.offset = 5,10
}
marks.MENU_OBEN.2 = GMENU
marks.MENU_OBEN.2 {
wrap = <nobr>|</nobr>
NO.backColor = #404040
NO.XY = [10.w]+10,14
NO.10 = TEXT
NO.10.text.field = title
NO.10.offset = 5,10
}
Wird bei Dir der Marker ###MENUOBEN### angezeigt oder gar nichts ?
Und löscht Du wenn Du etwas testest IMMER den CACHE ?
MfG
BK
Der Marker verschwindet und es wird nix mehr angezeigt.
Wie ober erwähnt fiunktioniert das Menu ja, wenn ich anstelle des GMENU_LAYERS ein TMENU eintrage.
Den Cache lösche ich auch immer.
Gunnar
Versuche den Code vom Menü etwas weiter nach oben im Setup zu setzen!
Also der Code funzt 100% - ich bin nicht sicher, aber ich glaube es liegt irgendwo in deinem SETUP Feld und dem restlichen Code !
Hast Du veruscht die Werte zu ändern ?
xPosOffset = -130
und
topOffset = 155
MfG
BK
Ok, jetzt habe ich meinem Quelltext eine Redikalkur verpasst.
Und...
Nix hat sich geändert
Könntest Du das Template bei Dir mal ausprobieren?
Es gilt wiederum, wenn ich aus GMENU_LAYERS TMENU mache funktioniert es.
Gunnar
-----schnip-----------------------------------------------
includeLibs.gmenu_layers = fileadmin/gmenu_layers.php
# Default PAGE object:
page = PAGE
page.typeNum = 0
page.10 = HMENU
page.10.entryLevel = 0
page.10.1 = GMENU_LAYERS
page.10.1 {
layerStyle = postition:absolute; VISIBILITY:hidden
xPosOffset = -130
lockPosition = x
topOffset = 155
displayActiveOnLoad = 1
dontHideOnMouseUp = 1
NO.backcolor = #101010
NO.XY = [10.w]+10, 14
NO.10 = TEXT
NO.10.text.field = title
NO.10.offset = 5,10
}
page.10.2 = GMENU
page.10.2 {
wrap = <nobr>|</nobr>
NO.backColor = #404040
NO.XY = [10.w]+10,14
NO.10 = TEXT
NO.10.text.field = title
NO.10.offset = 5,10
}
}
o.O o.O o.O
Also ich hab das Menü ja schon getestet !!!
Es funzt ja - ich geb Dir jetzt den Code ( Teil) der bei mir funzt - musst halt etwas anpassen
+++++++++++++++++++
##SETUP
## GMENU_LAYERS
includeLibs.gmenu_layers = media/scripts/gmenu_layers.php
## ALLGEMEINE SEITENEINSTELLUNGEN
page=PAGE
seite.typeNum=0
config.language=de
config.locale_all=de_DE
page.bodyTag=<body bgcolor=#FFFFFF topmargin=0 leftmargin=0 marginwidth=0 marginheigth=0>
page.hover=#CCCCCC
page.noLinkUnderline=1
page.stylesheet=fileadmin/DEIN.css
page.20=TEMPLATE
page.20 {
template=FILE
template.file=fileadmin/DEIN_TEMPLATE.html
workOnSubpart=DOKUMENT
## CONTENT
marks.CONTENT=CONTENT
marks.CONTENT.table=tt_content
marks.CONTENT.select.orderBy = sorting
## HAUPTMENÜ
page.10 = HMENU
page.10.entryLevel = 0
page.10.1 = GMENU_LAYERS
page.10.1 {
layerStyle = postition:absolute; VISIBILITY:hidden
xPosOffset = -130
lockPosition = x
topOffset = 155
displayActiveOnLoad = 1
dontHideOnMouseUp = 1
NO.backcolor = #101010
NO.XY = [10.w]+10, 14
NO.10 = TEXT
NO.10.text.field = title
NO.10.offset = 5,10
}
page.10.2 = GMENU
page.10.2 {
wrap = <nobr>|</nobr>
NO.backColor = #404040
NO.XY = [10.w]+10,14
NO.10 = TEXT
NO.10.text.field = title
NO.10.offset = 5,10
}
}
+++++++++++++++++++++++++++++
Hoffe das hilft Dir
MfG
BK
Ich geb's auf !!!!
1. Habe jetzt genau denselben Code eingebunden wie ihr oben auch und bei mir passiert rein gar nichts. Ist echt frustrierend.
Das TextMenu funktioniert aber mit GMenu klappts nicht.
2. Kann mir den mal jemand ein paar Zeilen posten wie so ein HTML-Template für das linke Menü aussehen soll?
TMenu Funktioniert:
## Define the HMenu
#leftmenu.20 = HMENU
##leftmenu.20.typeNum = 2
#leftmenu.20.entryLevel = 0
#leftmenu.20.1 = TMENU
#leftmenu.20.1.target = mainpage
#leftmenu.20.1 {
#expAll = 1
#wrap = <table width="150" border=0 cellspacing=0 cellpadding=0><tr><td><img
#src="clear.gif" width=1 hspace=150 height=1 vspace=3 border=0></td></tr> |
#</table>
#NO.linkWrap = <font face=Arial size=2 color=black><b> |</b></font>
#NO.allWrap = <tr><td><img src="clear.gif" width=1 height=1 vspace=3 border=0><br> |
#</td></tr>
#}
#leftmenu.20.2 = TMENU
#leftmenu.20.2.target = mainpage
#leftmenu.20.2 {
#wrap = <tr><td nowrap> | </td></tr>
#NO {
#beforeImg = media/bullets/bullet1_n.gif
#beforeROImg = media/bullets/bullet1_h.gif
#beforeImgTagParams = hspace=2
#RO = 1
#after = <br>
#ATagBeforeWrap = 1
#linkWrap= <font face=Verdana size=1 color=black> | </font>
#}
#}
leftmenu.includeLibs.gmenu_layers = media/scripts/gmenu_layers.php
## HAUPTMENÜ
leftmenu.10 = HMENU
leftmenu.10.entryLevel = 0
leftmenu.10.1 = GMENU_LAYERS
leftmenu.10.1 {
layerStyle = postition:absolute; VISIBILITY:hidden
xPosOffset = -130
lockPosition = x
topOffset = 155
displayActiveOnLoad = 1
dontHideOnMouseUp = 1
NO.backcolor = #101010
NO.XY = [10.w]+10, 14
NO.10 = TEXT
NO.10.text.field = title
NO.10.offset = 5,10
}
leftmenu.10.2 = GMENU
leftmenu.10.2 {
wrap = <nobr>|</nobr>
NO.backColor = #404040
NO.XY = [10.w]+10,14
NO.10 = TEXT
NO.10.text.field = title
NO.10.offset = 5,10
}
}
Bin für jede Hilfe dankbar
Stephan
Hi,
das stimmt schon sicher nicht :
statt
leftmenu.includeLibs.gmenu_layers = media/scripts/gmenu_layers.php
kommt
includeLibs.gmenu_layers = media/scripts/gmenu_layers.php
MfG
BK
Kein GMENU_LAYERS Problem, sondern ein generelles GMENU Problem.
Ich bekomme nämlich auch keine GMENUs angezeigt.
Weiß zufällig irgendwer, wie man testen kann, ob für GMENU alles "konfiguriert" ist?
Gibt es vielleicht im Constant Editor Einstellmöglichkeiten o.ä....
Gruß
Gunnar
Wenn dann in der Installation !!
Vergleich das mal unde ändere es einmal Testweise - dannach CACHE löschen nicht vergessen!
In der "All Configuration" ist bei mir folgendes eingestellt:
++++++++++++++++++++++++++++++++++++++
[GFX]:
$TYPO3_CONF_VARS["GFX"]
Configuration of the image processing features in Typo3. 'IM' and 'GD' are short for ImageMagick and GD library respectively.
[image_processing]
Boolean. Enables image processing features. Disabling this means NO image processing with either GD or IM!
[GFX][image_processing] = 1
[thumbnails]
Boolean. Enables the use of thumbnails in the backend interface. Thumbnails are generated by IM/partly GD in the file typo3/thumbs.php
[GFX][thumbnails] = 1
[thumbnails_png]
Bits. Bit0: If set, thumbnails from non-jpegs will be "png", otherwise "gif" (0=gif/1=png). Bit1: Even JPG's will be converted to png or gif (2=gif/3=png)
[GFX][thumbnails_png] = 0
[gif_compress]
Boolean. Enables the use of the t3lib_div::gif_compress() workaround function for compressing giffiles made with GD or IM, which probably use only RLE or no compression at all.
[GFX][gif_compress] = 0
[imagefile_ext]
Commalist of file extensions percieved as images by Typo3. Lowercase and no spaces between!!
[GFX][imagefile_ext] = gif,jpg,jpeg,tif,bmp,pcx,tga,png,pdf,ai
[gdlib]
Boolean. Enables the use of GD.
[GFX][gdlib] = 1
[gdlib_png]
Boolean. Enables the use of GD, with PNG only. This means that all items normally generated as gif-files will be png-files instead!
[GFX][gdlib_png] = 0
[gdlib_2]
Boolean. Set this if you are using the new GDlib 2.0.1+. If you don't set this flag and still uses GDlib2, you might encounter strange behaviours like black images etc. This feature might take effect only if ImageMagick is installed and working as well! GD2 support is still very much untested and beta.
[GFX][gdlib_2] = 1
[im]
Boolean. Enables the use of IM.
[GFX][im] = 1
[im_path]
Path to the IM tools "convert", "combine", "identify". Version 4.2.9 of ImageMagick is highly recommended due to features and speed!
[GFX][im_path] = /usr/bin/
[im_path_lzw]
Path to the IM tool "convert" with LZW enabled! See "gif_compress". If your version 4.2.9 of ImageMagick is compiled with LZW you may leave this field blank AND disable the flag "gif_compress"! Tip: You can call LZW 'convert' with a prefix like 'myver_convert' by setting this path with it, eg. '/usr/bin/myver_' instead of just '/usr/bin/'.
[GFX][im_path_lzw] =
[im_version_5]
Boolean. Set this if you're using IM 5+. If this is set, "im_negate_mask", "im_no_effects" and "im_mask_temp_ext_gif" are automatically configured for use with ImageMagick version 5 +
[GFX][im_version_5] = 1
[im_negate_mask]
Boolean. Indicates if the mask images should be inverted first. This depends of the ImageMagick version. Below ver. 5.1 this should be false. Above ImageMagick version 5.2+ it should be true. Just set the flag if the masks works opposite the intension!
[GFX][im_negate_mask] = 0
[im_imvMaskState]
Boolean. If set, the "im_negate_mask" state is inverted. This is very useful with newer versions of IM5 (at least 5.4.3+) where the "im_version_5" setting will set "im_negate_mask" which will eventually be wrong... Halleluja for ImageMagick - have I ever regreted using that package...
[GFX][im_imvMaskState] = 1
[im_no_effects]
Boolean. This is necessary if using ImageMagick 5+. Approved version for using effects is version 4.2.9. Effects in Imagemagick 5+ tends to render very slowly! Therefore this must be disabled in order not to perform sharpen, blurring and such. (However lately IM5 is allowed for effects again, but syntax has changed!)
[GFX][im_no_effects] = 1
[im_v5effects]
Integer -1,0,1. 0=disabled. -1=Do not sharpen images by default. 1=All; blur and sharpening is allowed in ImageMagick again and the "im_no_effects" flag is cancelled. Blurring and sharpening has new syntaxes though. See class.t3lib_stdgraphic.php for details.
[GFX][im_v5effects] = 1
[im_mask_temp_ext_gif]
Boolean. This should be set if ImageMagick is version 5+. This is used in class tslib_cObj.php for masking images and the extension png is normally used because it's faster than gif for temporary files. But png seems not to work with some IM 5+ versions, so...
[GFX][im_mask_temp_ext_gif] = 1
[im_mask_temp_ext_noloss]
String. Loss-less ImageMagick extension to use for mask processing in temporary filenames. Normally "miff" (ImageMagick's OWN format) will do fine. However at least IM 5.4.9 has proved not to be able to write to its own file format which forced me to add this option. You can try and set this to tif/png/jpg if some masking doesn't work the way it should.
[GFX][im_mask_temp_ext_noloss] = miff
[im_noScaleUp]
Boolean. If set, images are not being scaled up if told so (in t3lib/stdgraphics.php)
[GFX][im_noScaleUp] = 0
[im_combine_filename]
String. Latest ImageMagick versions has changed the name of combine to composite. Configure here if needed.
[GFX][im_combine_filename] = composite
[im_noFramePrepended]
Boolean. If set, the the [x] frame indicator is NOT prepended to filenames in stdgraphic. Some IM5+ version didn't work at all with the typical [0]-prefix, which allow multipage pdf's and animated gif's to be scaled only for the first frame/page and that seriously cuts down rendering time. Set this flag only if your ImageMagick version cannot find the files. Notice that changing this flag causes temporary filenames to change, thus the server will begin scaling images again which were previously cached.
[GFX][im_noFramePrepended] = 0
[enable_typo3temp_db_tracking]
Boolean. If set, then all files in typo3temp will be logged in a database table. In addition to being a log of the files with original filenames, it also serves to secure that the same image is not rendered simultaneously by to different processes.
[GFX][enable_typo3temp_db_tracking] = 0
[TTFLocaleConv]
String. Enter locale conversion string used to recode input to TrueType functions. Eg. 'cp1250..UTF-8'. Works ONLY if 'recode' is enabled in PHP.
[GFX][TTFLocaleConv] =
[TTFdpi]
Integer. Enter how many dpi the FreeType module uses. Freetype1 should be set to 72. Freetype2 should be set to 96 (otherwise fonts are rendered way bigger than FreeType1). This works as a global scaling factor for Freetype.
[GFX][TTFdpi] = 72
++++++++++++++++++++++++++++++++++++++
MfG
BK
Ich habs!!!
Vielen Dank an Brainkiller, der mir sehr geholfen hat.
Es lag an meiner GDLib.
Ich habe meinen Apache mit PHP neu installiert und diesmal die Konfigurationsoptionen
./configure --with-apache=../apache_1.3.27 --with-mysql=/usr --with-ldap --with-pgsql=/opt/postgresql --enable-bcmath --enable-track-vars --with-freetype-dir --with-gd --enable-gd-native-ttf
für PHP benutzt (wichtig für mich: freetype und gdlib sind jetzt fest eingebunden)
und siehe da...
Gruß
Gunnar
Freut mich, daß es jetzt funzt :-))
BK
aber was mach ich mit meinem Apache. der läuft hier auf einem WinNT 4.0 Server, Gibts da auch ne GDLib ?
Stephan