[ic] Menu problem

Kaare Rasmussen interchange-users@lists.akopia.com
Tue Jun 5 16:41:01 2001


Trying to duplicate the admin menu, I copy icmenu.txt to fmmenu.txt with this 
content:

code	mgroup	msort	next_line	indicator	exclude_on	depends_on	page	form	name	
super	inactive	special	help_name	img_dn	img_up	img_sel	img_icon	url
0001	Top	01		Contact		contact	freemoney/customerList		Contact			View and 
manage contact information, customers, addresses					icon_customer.gif	
0002	Top	02		Product		product	freemoney/articleList		Products			View and 
manage product information					icon_people.gif	
0003	Top	03		Sales Order		order	freemoney/soList		Orders			Manage orders, 
invoices					icon_item.gif	
0004	Top	04		General Ledger		ledger	freemoney/batchList		Ledger			Create, 
edit journal entries and account information					icon_pages.gif	
0005	Top	05		Admin		admin	freemoney/owner		Admin			Maintain system and owner 
information					icon_design.gif	
0010	Admin	01					admin/genconfig		Info									
0011	Contact	01					freemoney/customerList		Customer									
0012	Contact	02					freemoney/nogetandet		Noget									

I add a line in the catalog.cfg:

Database fmmenu fmmenu.txt gdbm 

So I can see the Top level menu.

But the next level will not show!
This piece of code:

[loop
        prefix=sm
        search="[scratch fm_menu_sparams]"
        safe_data=1
]

Returns no lines. I can't see the difference from icmenu

fm_menu_sparams is initialized thus:
        my $sparams = <<EOF;
                fi=@_FM_MENU_TABLE_@
                st=text
                rf=*
                co=yes
                tf=msort
 
                sf=mgroup
                se=$fm_tag
                op=rm

And in ui.cfg: Variable FM_MENU_TABLE fmmenu 

-- 
Kaare Rasmussen            --Linux, spil,--        Tlf:        3816 2582
Kaki Data                tshirts, merchandize      Fax:        3816 2501
Howitzvej 75               Åben 14.00-18.00        Web:      www.suse.dk
2000 Frederiksberg        Lørdag 11.00-17.00       Email: kar@webline.dk