Creating a new Module for Admin interface

Add New Icon to Joomla Control Panel

This was used to add a new icon to the quick icons in the Joomla Control Panel

manifest.xml

<?xml version="1.0" encoding="UTF-8"?>
<extension
type="module"
version="1.7"
client="administrator"
method="update">
<name>Quick Icons for Thing</name>
<creationDate>19/Aug/2012</creationDate>
<author>Joomla Project Modified by Bectin Corporation</author>
<copyright>This template is released under the GNU/GPL License</copyright>
<authorEmail>info_bectin.com</authorEmail>
<authorUrl></authorUrl>
<version>1.0</version>
<description>Replaces default Quick Icon set to include Jevents Export Link</description>
<files>
<filename module="mod_quickicon_thing">mod_quickicon_thing.php</filename>
<filename>helper.php</filename>
<filename>index.html</filename>
<filename>mod_quickicon_thing.xml</filename>
<folder>tmpl</folder>
</files>
<languages>
<language tag="en-GB">en-GB.mod_quickicon_thing.ini</language>
</languages>
</extension>

Then all of the files are put in a sub-directory mod_quickicon_thing

If everything is not done correctly you will get any of the following error messages:

JInstaller: :Install: Cannot find XML setup file (this comes from a V1.5 extension in J1.6/7/2.5)

JInstaller: :Install: Cannot find Joomla XML setup file

The following error message came when I didn't have the modeule=”” paramter in the filename.

Module Install: No module file specified 
Error installing module

Reference: http://docs.joomla.org/Manifest_files

You have no rights to post comments

Recent Random Insights

  • 23 May 2020
    If you're using Joomla Component Builder and your admin list view isn't showing any items, even though there are items in the database, edit your admin view and make sure in the Admin behaviour column is set to Show in All List Views for at least one field.
  • 18 May 2020
    Ok. When creating a custom field: Here's an example of the text that goes in the "The php for the getOptions method" box. // gets the name and IDs of the description articles $db = JFactory::getDBO(); $query = $db->getQuery(true); $query->select($db->quoteName...
  • 18 May 2020
    I want a query to return all the fields for all the entries in the table minto_regsix_session that include a value of 2 in the 'day' field. Following is a screenshot from phpMyAdmin of the table including the day field which contains a JSON array. This query did NOT work. SELECT...
  • 07 February 2020
    Warning: session_start(): Failed to read session data: user (path: c:/wamp/tmp) in libraries\joomla\session\handler\native.php on line 260Error: Failed to start application: Failed to start the session Solution: check to make sure $dbprefix in the configuration.php file is set to correctly ma...
  • 12 September 2019
    If you get this message after switching to php version 7.x, change your code to from count() to count(get_object_vars()).
  • 08 August 2019
    Using json_decode in PHP is handing for extracting json parameters from PHP. Similarly, you can use JSON_EXTRACT in an SQL query.   SELECT JSON_EXTRACT(`params`, '$.parent_info_session') FROM `minto_categories` WHERE `id` = 96   Thise selects the data from the parent_info_session par...
  • 09 June 2019
    I you're getting Unable to Connect or ERR_CONNECTION_REFUSED when trying to connect to a site on localhost, check the configuration.php file to see if $force_ssl is set to 2. Change it to 0 and the problem should go away.