Re[2]: New menu entry under some conditions...

2005-06-07 Thread qMax
Tuesday, June 7, 2005, 8:23:24 PM, Michael Wohlfart wrote: MW> In /menus.xmap add an Entry for the Resource Type, MW> it should look something like this: MW> MW> MW> src="config/menus/people.xsp"/> MW> MW> IIRC, it is possible using url matcher as well,

Re: New menu entry under some conditions...

2005-06-07 Thread Michael Wohlfart
I also played around with Resource Types and Custom Menus, my approach is like this: In /menus.xmap add an Entry for the Resource Type, it should look something like this: Then add your own menu as /config/menus/people.xsp. You can start with a copy of gen

Re: New menu entry under some conditions...

2005-06-07 Thread qMax
Tuesday, June 7, 2005, 7:25:27 PM, Rolando Isidoro wrote: RI> It's appearing in the same conditions as the New Document entry, but I RI> wish for it to be available only in this conditions if the url contains RI> the string "people_en.html" or "people_pt.html", which in practice is RI> the same to

New menu entry under some conditions...

2005-06-07 Thread Rolando Isidoro
Hi, I've created a new Custom Resource Type with no problems by following the instructions available in http://lenya.apache.org/1_2_x/how-to/custom_resourcetype.html. Now, I want that the menu entry for the creation of this new resource only becomes active given certain conditions; I've looked