Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 10. Components Part IV: Example ... > Subscription-Category View

Subscription-Category View

Our component only has one front-end view, called category. This is similar to core category list views. It shows all the subscriptions in a single category. Let’s first look at how we create a menu item for this view.

Menu Item XML File

Each menu item provides a set of options (also called parameters) that control the display of the menu item. As with other options, these are specified in an XML file. The XML file is located in the tmpl subfolder of the view and is named the same as the layout file for that menu item.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint