[TYPO3-english] R: Add HOME button to a GMENU

De Contardi Riccardo Riccardo.DeContardi at bhuman.it
Tue Feb 22 14:24:33 CET 2011


Hello.

My suggestion is: write the whole menu as a COA 
Something like this:

lib.yourmenu=COA
lib.yourmenu{
10=IMAGE
10.file=path/to/file/home.gif
#add other options like altText, titleText as you need
#link to home page (I guess UID=1, replace with correct UID)
10.stdWrap.typolink.parameter=1

20=HMENU
#The GMENU code you already use
}
Adapt it to your needs and best regards


--------------------------------------------
Riccardo De Contardi - Web Developer
B Human Srl - www.bhuman.it
Via Canzio, 15 - 20131 Milano
TEL +39-02-20.23.271 - FAX +39-02-20.240.561
--------------------------------------------

-----Messaggio originale-----
Da: typo3-english-bounces at lists.typo3.org [mailto:typo3-english-bounces at lists.typo3.org] Per conto di Enrique Moreno Tent
Inviato: martedì 22 febbraio 2011 14:10
A: TYPO3 English
Oggetto: [TYPO3-english] Add HOME button to a GMENU

Im building a GMENU for the main navigation and I want to add at the beginning a HOME button, that doesnt have text like the others, but a custom image. How could I do this? Should I build a second GMENU for it?
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

**************************************************

Chi riceve il presente messaggio e' tenuto a verificare se lo stesso non gli sia pervenuto per errore. In tal caso e' pregato di avvisare immediatamente il mittente e, tenuto conto delle responsabilita connesse all'indebito utilizzo e/o divulgazione del messaggio e/o delle informazioni in esso contenute, voglia cancellare l'originale e distruggere le varie copie o stampe.

The receiver of this message is required to check if he/she has received it erroneously. If so, the receiver is requested to immediately inform the sender and - in consideration of the responsibilities arising from undue use and/or disclosure of the message and/or the information contained therein - destroy the original message and any copy or printout thereof.




More information about the TYPO3-english mailing list