[TYPO3] error on GMENU

Kesit Barotoardi barotoardi at yahoo.com.sg
Tue Jan 15 12:46:58 CET 2008


sorry if my question is not clear enough.. :D

If you look at the site http://www.open-php.com/index.php?id=68&L=2
There're navigation: Aktuell - Vision - Projekte - etc
The current size is fine (Aktuell is wider than the others).

The problem is:
I want Aktuell using butt_1.gif, Vision using butt_2.gif, Projekte using butt_3.gif and so on...
butt_1.gif, butt_2.gif, etc. have different colours.

The fact is: all navigations are using the last file image, which is butt_1.gif. (The last navigation is using butt_1.gif again)

Please forgive for my language...but is it something wrong with my script?

Thanks for the links, I will learn this again


my setup template:

lib.main_nav = HMENU
lib.main_nav.entryLevel = 0
lib.main_nav.1 = GMENU
lib.main_nav.1{
    wrap = <ul class="main">|</ul>
        NO = 1
        NO {
          wrap = <li class="first"> | </li> |*| <li class="two"> |
 </li>
          XY = 125,72
          5 = IMAGE
          5 {
          file = fileadmin/templates/images/butt_1.gif
          }
          10 = IMAGE
          10 {
          XY = 125,72
          file = fileadmin/templates/images/butt_2.gif
          }
          15 = IMAGE
          15 {
          XY = 125,72
          file = fileadmin/templates/images/butt_3.gif
          }
          20 = IMAGE
          20 {
          XY = 125,72
          file = fileadmin/templates/images/butt_4.gif
          }
          25 = IMAGE
          25 {
          XY = 125,72
          file = fileadmin/templates/images/butt_5.gif
          }
          30 = IMAGE
          30 {
          XY = 125,72
          file = fileadmin/templates/images/butt_6.gif
          }
          35 = IMAGE
          35 {
          XY = 125,72
          file = fileadmin/templates/images/butt_1.gif
          }
          40 = TEXT
          40.text.field = title
          40.fontFile = fileadmin/templates/font/GARA.TTF
          40.fontSize = 16
          # offset bestimmt die vertikale Ausrichtung der Schrift
          40.offset = 15,25
          40.fontColor = #FFFFFF
          40.align = left
          } 

        ACT = 1
           ACT < .NO
            ACT.ATagParams = class="main_current"
          
}


<font face="Arial, Helvetica, sans-serif" size="1"><strong>Kesit    Barotoardi</strong>
   
   <em><font color="#666666">m:</font></em> <font color="#0033cc">+62 251 217 0671 </font>    |<font color="#666666"><em> <em><font color="#666666">skype:</font></em> <font color="#0033cc">kesit.barotoardi</font>    |<font color="#666666"><em> e:</em></font> <a rel="nofollow" target="_blank" href="mailto:barotoardi at yahoo.com.sg"><font color="#0033cc">barotoardi at yahoo.com.sg</font></a>
   
   
 
Lawanggintung 77, Bogor 16133 - West Java - Indonesia
<span style="font-style:italic;">t/f: </span>+62 251 324 676
</font>


----- Original Message ----
From: Christian Lerrahn <typo3 at penpal4u.net>
To: typo3-english at lists.netfielders.de
Sent: Tuesday, 15 January, 2008 6:25:32 PM
Subject: Re: [TYPO3] error on GMENU

Hi Kesit,
> would anybody help me?
> I am newbie on typo3 and try to use GMENU on my project
> 
> I have 7 button for my main navigation, and it suppose to be having
> different background color. But it seems only the last image file
> used for every button (fileadmin/templates/images/butt_1.gif).

Looking at your buttons, they all seem the same colour even though not
same size. So this might be the first thing you need to look at. What
exactly you're trying to do in your GMENU, I'm not sure. What you might
want to do is use applyTotalW on your GMENU. Have a look at
http://typo3.org/documentation/document-library/core-documentation/doc_core_tsbyex/0.0.16/view/7/8/
for more detail.

Cheers,
Christian
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english






      ___________________________________________________________
Support the World Aids Awareness campaign this month with Yahoo! For Good http://uk.promotions.yahoo.com/forgood/


More information about the TYPO3-english mailing list