Keyword

Help! How does MVC work with Menu Type Item?

  • Edward Coast
  • Edward Coast's Avatar Topic Author
  • Offline
  • New Member
More
12 years 8 months ago - 12 years 8 months ago #61768 by Edward Coast
Help! How does MVC work with Menu Type Item? was created by Edward Coast
I'm working with Joomla 1.7.3.

In the Menu Manager there is the popular mainmenu for Home. You can select "Menu Item Type" for the Menu. This can be a Joomla Article, or in the case of K2 there are a series of additional selections such as: Categories.

This is where I'm lost. How does selecting the Menu Item Type of a K2 Categories point it to run the category.php file which is located in templates/sometemplate/html/com_k2/default/category.php ?

Further more, when it runs category.php how does it know to pull in environment for K2ViewItemList? Where is that specified?

I need to know this because in developing K2 Content Module and also modifying categories.php I need access to different K2 environments and don't see how to do this.

Thank you!

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum