[Typo3] It is possible to use designed buttons with GMENU?

Henrik Eriksson typo3henrik at gmail.com
Mon Aug 29 11:03:40 CEST 2005


Hi,
I'm trying to do something similar but I can't get it to work. I would like 
to have a menu with several pre-made buttons like "home", "products", 
"about" etc. If I use this code only the first menu-item (home) shows up:

lib.mainmenu = HMENU
lib.mainmenu.1 = GMENU

lib.mainmenu.1 {
NO {
altImgResource.import = uploads/media/
altImgResource.import.field = media
altImgResource.import.listNum = 0
altImgResource.import.listNum = 1
}

RO = 1
RO {
altImgResource.import = uploads/media/
altImgResource.import.field = media
altImgResource.import.listNum = 1
}

What do I need to change to show all the menu items on the same level as 
home?
//Henrik



2005/8/28, Matyi Gábor <gmatyi at freemail.hu>:
> 
> Hi,
> 
> your solution helped me! I made a simple webpage, where there is 5 page, 3
> image for each page, and I can click on the pictures, and so I can select 
> the
> page...But I'd like to use my template.html file, that I did with 
> Fireworks.
> I imagine a such soultion, that you can read in the Modern Template 
> Building
> Part 1 - page 33.
> 
> Thank you for your answer...
> 
> Gabor Matyi
> 
> > ---------------------------------------------
> > The important parts here are the import.* lines. You can assign media to
> > all pages, so go to edit the page headers of your page, choose page type
> > 'advanced', and in the 4th box called 'Files', right above the TSConfig
> > part, you can add files to that list.
> > import.listNum = 0 gets the first picture in that list, import.listNum = 
> 1
> > the second, etc. So in my example, I have the normal image in first
> > position (import.listNum = 0), the rollover second, and the activated in
> > third, and then just use those in the TS. Once you do that though, be
> > reminded that it will make a copy of that image and save it in
> > uploads/media, so if you plan on changing those, you have to delete if 
> off
> > the list in the page header, and add the updated one to see it.
> >
> > Hope that helped!
> _______________________________________________
> Typo3-english mailing list
> Typo3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>



More information about the TYPO3-english mailing list