[TYPO3] problems with gmenu_layers
Christian Hensel
christian.hensel at gmx.net
Mon Apr 30 21:02:32 CEST 2007
Hallo Peter,
habe das Menü heruntergebrochen, damit die Fehlersuche einfacher wird:
### Menü oben ###
temp.menu = HMENU
temp.menu.1 = GMENU
temp.menu.1.NO {
backColor = #FFFFFF
XY = [10.w]+10, 26
10 = TEXT
10.text.field = title
10.fontFile = fileadmin/verdana.ttf
10.fontFace = fileadmin/verdana.ttf
10.fontSize = 14
10.fontColor = #000000
10.offset = 3, 10
10.niceText = 1
}
einfaches GMENU, trotzdem wird auch hier kein Text angezeigt.
Jemand eine Idee?
gruss
Christian
"Christian Hensel" <christian.hensel at gmx.net> schrieb im Newsbeitrag
news:mailman.1.1177958526.31754.typo3-english at lists.netfielders.de...
> hi Peter,
> i did change it, but it after clearing the cache no difference appeared in
> frontend:
> ## Menü oben ###
> page.includeLibs.gmenu_layers = fileadmin/gmenu_layers.php
> temp.menu >
> temp.menu = HMENU
> temp.menu.1 = GMENU_LAYERS
> temp.menu.1 {
> layerStyle=position: absolute; left: 80px; top: 180px; width: 210px;
> VISIBILITY: hidden;
> expAll = 1
> dontFollowMouse = 1
> lockPosition = x
> relativeToParentLayer = 1
> xPosOffset = -10
> }
>
> temp.menu.1.NO{
> backColor = #FFFFFF
> 4 = IMAGE
> 4.file = fileadmin/menu.gif
> XY = [10.w]+10, 26
> 10 = TEXT
> 10 {
> text.field = title
> fontSize = 14
> fontColor = #000000
> fontFace = fileadmin/verdana.ttf
> niceText = 1
> offset = 3, 20
>
> }
> }
> temp.menu.1.ACT{
> backColor = #FFFFFF
> 4 = IMAGE
> 4.file = fileadmin/menu.gif
> XY = [10.w]+10, 26
> 10 = TEXT
> 10 {
> text.field = title
> fontSize = 14
> iterations = 6
> fontColor = #000000
> fontFace = fileadmin/verdana.ttf
> niceText = 1
> offset = 3, 20
>
> }
> }
>
> temp.menu.2 = GMENU_LAYERS
> temp.menu.2{
> wrap = <b>|<b><br>
> lockPosition = y
> layerStyle=position: absolute; left: 80px; top: 175px; width: 10px;
> VISIBILITY: hidden;
> relativeToParentLayer = 1
> relativeToParentLayer.addWidth = 1
> expAll = 1
> xPosOffset = -11
> dontFollowMouse = 1
> }
>
> temp.menu.2.NO {
> backColor = |*| #FFFFFF || #FFFFFF |*|
> XY= 120, 20
> dontFollowMouse = 1
> 10= TEXT
> 10 {
> text.field = title
> fontSize = 14
> fontColor = #0033FF
> fontFace = fileadmin/verdana.ttf
> niceText = 1
> offset = 5, 16
> }
>
> }
>
> temp.menu.3 = GMENU
> temp.menu.3.wrap = <b>|<b><br>
> temp.menu.3.NO {
> backColor = |*| #E8E8E8 || #E8E8E8 |*|
> XY= 120, 20
> 10= TEXT
> 10 {
> text.field = title
> fontSize = 14
> fontColor = #0033FF
> fontFace = fileadmin/verdana.ttf
> niceText = 0
> offset = 5, 16
> }
>
> }
>
>
> regards
> Christian
> "Peter Klein" <peter at umloud.dk> schrieb im Newsbeitrag
> news:mailman.1.1177957499.29193.typo3-english at lists.netfielders.de...
>> Hi Christian.
>>
>> You select the font file like this in all of your TS objects (which is
>> wrapped in a "10" object):
>>
>> 10.fontFace = fileadmin/verdana.ttf
>>
>> But you have no "10" object here!!... So change it to:
>>
>> fontFace = fileadmin/verdana.ttf
>>
>> And it *should* work..
>>
>> --
>> Peter Klein / Umloud Untd.
>>
>>
>> "Christian Hensel" <christian.hensel at gmx.net> wrote in message
>> news:mailman.1.1177953288.21140.typo3-english at lists.netfielders.de...
>>> Hi Peter,
>>>
>>> thanks very much,
>>> i changed it now to:
>>>
>>> offset = 3, 20
>>>
>>> that seems for me fine, because font size is 16, i should a least
>>> something.
>>> I cleared the cache, but still the picture is blank
>>> see: http://www.logotherapie-basel.ch
>>>
>>> regards
>>> Christian:
>>> new actuall typoscript:
>>> ### Menü oben ###
>>> page.includeLibs.gmenu_layers = fileadmin/gmenu_layers.php
>>> temp.menu >
>>> temp.menu = HMENU
>>> temp.menu.1 = GMENU_LAYERS
>>> temp.menu.1 {
>>> layerStyle=position: absolute; left: 80px; top: 180px; width: 10px;
>>> VISIBILITY: hidden;
>>> expAll = 1
>>> dontFollowMouse = 1
>>> lockPosition = x
>>> relativeToParentLayer = 1
>>> xPosOffset = -10
>>> }
>>>
>>> temp.menu.1.NO{
>>> backColor = #FFFFFF
>>> 4 = IMAGE
>>> 4.file = fileadmin/menu.gif
>>> XY = [10.w]+10, 26
>>> 10 = TEXT
>>> 10 {
>>> text.field = title
>>> fontSize = 14
>>> fontColor = #000000
>>> 10.fontFace = fileadmin/verdana.ttf
>>> niceText = 1
>>> offset = 3, 20
>>>
>>> }
>>> }
>>> temp.menu.1.ACT{
>>> backColor = #FFFFFF
>>> 4 = IMAGE
>>> 4.file = fileadmin/menu.gif
>>> XY = [10.w]+10, 26
>>> 10 = TEXT
>>> 10 {
>>> text.field = title
>>> fontSize = 14
>>> iterations = 6
>>> fontColor = #000000
>>> 10.fontFace = fileadmin/verdana.ttf
>>> niceText = 1
>>> offset = 3, 20
>>>
>>> }
>>> }
>>>
>>> temp.menu.2 = GMENU_LAYERS
>>> temp.menu.2{
>>> wrap = <b>|<b><br>
>>> lockPosition = y
>>> layerStyle=position: absolute; left: 80px; top: 175px; width: 10px;
>>> VISIBILITY: hidden;
>>> relativeToParentLayer = 1
>>> relativeToParentLayer.addWidth = 1
>>> expAll = 1
>>> xPosOffset = -11
>>> dontFollowMouse = 1
>>> }
>>>
>>> temp.menu.2.NO {
>>> backColor = |*| #FFFFFF || #FFFFFF |*|
>>> XY= 120, 20
>>> dontFollowMouse = 1
>>> 10= TEXT
>>> 10 {
>>> text.field = title
>>> fontSize = 14
>>> fontColor = #0033FF
>>> 10.fontFace = fileadmin/verdana.ttf
>>> niceText = 1
>>> offset = 5, 16
>>> }
>>>
>>> }
>>>
>>> temp.menu.3 = GMENU
>>> temp.menu.3.wrap = <b>|<b><br>
>>> temp.menu.3.NO {
>>> backColor = |*| #E8E8E8 || #E8E8E8 |*|
>>> XY= 120, 20
>>> 10= TEXT
>>> 10 {
>>> text.field = title
>>> fontSize = 14
>>> fontColor = #0033FF
>>> 10.fontFace = fileadmin/verdana.ttf
>>> niceText = 0
>>> offset = 5, 16
>>> }
>>>
>>> }
>>>
>>> subparts.menu_1 < temp.menu
>>> subparts.menu_2 < temp.menu2
>>>
>>> "Peter Klein" <peter at umloud.dk> schrieb im Newsbeitrag
>>> news:mailman.1.1177952624.19478.typo3-english at lists.netfielders.de...
>>>> Hi Christian.
>>>>
>>>> Try changing the "offset = 1, 1" in your "temp.menu.1.NO" object, to
>>>> something more useful. As right now you are placing the text outside
>>>> the visible area of your button ;)
>>>>
>>>> --
>>>> Peter Klein / Umloud Untd.
>>>>
>>>> "Christian Hensel" <christian.hensel at gmx.net> wrote in message
>>>> news:mailman.1.1177874705.15919.typo3-english at lists.netfielders.de...
>>>>> hi list, im having problems with a gmenu_layers setup, that works fine
>>>>> in another typo3 installation on the same server.
>>>>>
>>>>> Problem: No text / font appear in the generated grafics:
>>>>> see: http://www.logotherapie-basel.ch
>>>>>
>>>>> ### Menü oben ###
>>>>> page.includeLibs.gmenu_layers = fileadmin/gmenu_layers.php
>>>>> temp.menu >
>>>>> temp.menu = HMENU
>>>>> temp.menu.1 = GMENU_LAYERS
>>>>> temp.menu.1 {
>>>>> layerStyle=position: absolute; left: 80px; top: 180px; width: 10px;
>>>>> VISIBILITY: hidden;
>>>>> expAll = 1
>>>>> dontFollowMouse = 1
>>>>> lockPosition = x
>>>>> relativeToParentLayer = 1
>>>>> xPosOffset = -29
>>>>> }
>>>>>
>>>>> temp.menu.1.NO{
>>>>> backColor = #FFFFFF
>>>>> 4 = IMAGE
>>>>> 4.file = fileadmin/menu.gif
>>>>> XY = [10.w]+10, 26
>>>>> 10 = TEXT
>>>>> 10 {
>>>>> text.field = title
>>>>> fontSize = 14
>>>>> fontColor = #000000
>>>>> 10.fontFace = fileadmin/verdana.ttf
>>>>> niceText = 1
>>>>> offset = 1, 1
>>>>>
>>>>> }
>>>>> }
>>>>> temp.menu.1.ACT{
>>>>> backColor = #FFFFFF
>>>>> 4 = IMAGE
>>>>> 4.file = fileadmin/menu.gif
>>>>> XY = [10.w]+10, 26
>>>>> 10 = TEXT
>>>>> 10 {
>>>>> text.field = title
>>>>> fontSize = 14
>>>>> iterations = 6
>>>>> fontColor = #000000
>>>>> 10.fontFace = fileadmin/verdana.ttf
>>>>> niceText = 1
>>>>> offset = 5, 16
>>>>>
>>>>> }
>>>>> }
>>>>>
>>>>> temp.menu.2 = GMENU_LAYERS
>>>>> temp.menu.2{
>>>>> wrap = <b>|<b><br>
>>>>> lockPosition = y
>>>>> layerStyle=position: absolute; left: 80px; top: 175px; width: 10px;
>>>>> VISIBILITY: hidden;
>>>>> relativeToParentLayer = 1
>>>>> relativeToParentLayer.addWidth = 1
>>>>> expAll = 1
>>>>> xPosOffset = -11
>>>>> dontFollowMouse = 1
>>>>> }
>>>>>
>>>>> temp.menu.2.NO {
>>>>> backColor = |*| #FFFFFF || #FFFFFF |*|
>>>>> XY= 120, 20
>>>>> dontFollowMouse = 1
>>>>> 10= TEXT
>>>>> 10 {
>>>>> text.field = title
>>>>> fontSize = 14
>>>>> fontColor = #0033FF
>>>>> 10.fontFace = fileadmin/verdana.ttf
>>>>> niceText = 1
>>>>> offset = 5, 16
>>>>> }
>>>>>
>>>>> }
>>>>>
>>>>> temp.menu.3 = GMENU
>>>>> temp.menu.3.wrap = <b>|<b><br>
>>>>> temp.menu.3.NO {
>>>>> backColor = |*| #E8E8E8 || #E8E8E8 |*|
>>>>> XY= 120, 20
>>>>> 10= TEXT
>>>>> 10 {
>>>>> text.field = title
>>>>> fontSize = 14
>>>>> fontColor = #0033FF
>>>>> 10.fontFace = fileadmin/verdana.ttf
>>>>> niceText = 0
>>>>> offset = 5, 16
>>>>> }
>>>>>
>>>>> }
>>>>>
>>>>>
>>>>> any ideas, verdana.ttf exists: -->
>>>>> -rwxrwxrwx 1 web5 web5 171792 2007-04-29 20:43 verdana.ttf
>>>>>
>>>>>
>>>>> any ideas?
>>>>>
>>>>> greetings
>>>>> Christian
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
More information about the TYPO3-english
mailing list