New menu item + expand, how ?

Discussion and education for beginner / novice programmers interested in embarking on the development process to take advantage of the extensible nature of the Joomla! CMS.

Moderators: tjay, seadap, Rogue4ngel, matthewhayashida

Forum rules
Post Reply
Jissouille
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sat Nov 10, 2007 1:42 am
Location: France (37)

New menu item + expand, how ?

Post by Jissouille » Thu Nov 29, 2007 3:03 pm

I am writing a component with several views and want to give access to these views from the frontend but as separate choices.
The behaviour I'm trying to mimic is the one you get when you do this :
  • go to admin
  • select a menu
  • click on new
There I'm presented a list of modules/components : articles, contacts, newsfeeds, polls, etc.
If I select "articles", I am directed to a sub list (/administrator/index.php?option=com_menus&task=type&menutype=mainmenu&cid[]=&expand=content)
I think it's called (free translation from french) "menu item type selection".

That's what I want : define the possible choices for expand so the admin can add each view in its own menu.

I guess everything (choices, related help, etc.) is defined in the XML file but don't understand where and how this should go. Could you direct me to the proper documentation page ?

Thanks for your help,

JC

PS: For Joomla! 1.5
Last edited by Jissouille on Thu Nov 29, 2007 5:47 pm, edited 1 time in total.

Jissouille
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sat Nov 10, 2007 1:42 am
Location: France (37)

Re: New menu item + expand, how ?

Post by Jissouille » Thu Nov 29, 2007 5:46 pm

To see IanMac's brilliant explanation, click here http://forum.joomla.org/index.php/topic,238317.msg1096410.html#msg1096410


Post Reply