SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 90 | Next

James Kennard

"Mastering Joomla! 1.5 Extension and Framework Development"


The backend for the component is stored at administrator/components/
com_myextension. In this folder, you need to create the root admin component file
called admin.myextension.php; this file is executed when the component is invoked
from the backend.
Once you have done this, to access your component from the frontend you will be
able to create a new menu item, in the menu manager, which uses your component.
To use your component from the backend you can use the link that will now appear
in the components menu.
Chapter 4
[ 67 ]
The Structure
Before we are stuck into building an MVC component, we need to understand the
folder structure. This diagram shows the structure of a typical MVC component
backend folder. The structure of the frontend is essentially the same but without the
elements, help, and tables folders.
Component Design
[ 68 ]
When you create folders in Joomla!, you should include a copy of index.html in
each. The index.html file is a blank HTML file, which prevents users from obtaining
a directory listing.


Pages:
78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102