Prev | Current Page 156 | Next

James Kennard

"Mastering Joomla! 1.5 Extension and Framework Development"

php


To use this, create a new XML manifest file, using UTF-8 encoding, and save the
above code into it. The name of this file is not important, as long as the extension is
.xml. You will need to update the XML to suit the module you intend to build.
The module name can also be used in the form mod_parsedname. For example, the
name My Extension would also be used in the format mod_myextension.
Once you have built your XML manifest file, create a new PHP file called mod_
myextension.php. This is the file that is invoked when the module is used. If you do
not include this file, you will not be able to install the module.
Now create a new archive, which must be .gz, .tar, .tar.gz, or .zip, and add the
XML manifest file and PHP file to it. If you install the archive, you will get a blank
module ready for you to begin developing.
The module that the above process will install is a frontend module. If we want to
create a backend module, we would have to modify the install tag client attribute
value from site to administrator.


Pages:
144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168
apartamenty przy plaży siłacz strongman szkolenia nlp remont warszawa klamki