2006-05-19 23:15:04 UTC
heres how to re-enable aah modules into freepbx2.1.0, im sure this will be posted throughout the aah sites, please dont forget to give me some props :P
cd /var/www/html/admin/modules/asteriskinfo
cp module.ini module.xml
nano module.xml
<copy/paste the following>
<module>
<rawname>asteriskinfo</rawname>
<name>Asterisk Info</name>
<version>1.0</version>
<type>tool</type>
<category>Maintenance</category>
<menuitems>
<asteriskinfo>Asterisk Info</asteriskinfo>
</menuitems>
</module>
nano page.asteriskinfo.php
copy/paste the following
<a href="modules/asteriskinfo/asterisk_info.php" target="_blank">Asterisk Info</a>
cd ../configedit
nano module.xml
copy/paste the following:
<module>
<rawname>configedit</rawname>
<name>ConfigEdit</name>
<version>1.0</version>
<type>tool</type>
<category>Maintenance</category>
<menuitems>
<configedit>Config Edit</configedit>
</menuitems>
</module>
nano page.configedit.php
copy/paste the following:
<a href="modules/configedit/phpconfig.php" target="_blank">Config Edit</a>
cd ../cisoconfig
nano module.xml
copy/paste the following:
<module>
<rawname>ciscoconfig</rawname>
<name>Cisco Config</name>
<version>1.0</version>
<type>tool</type>
<category>Maintenance</category>
<menuitems>
<ciscoconfig>CiscoConfig</ciscoconfig>
</menuitems>
</module>
nano page.ciscoconfig.php
copy/paste the following:
<a href="modules/ciscoconfig/cisco_cfg/phone.html" target="_blank">Cisco Config</a>
cd ../phpmyadmin
nano module.xml
copy/paste the following:
<module>
<rawname>phpmyadmin</rawname>
<name>phpMyAdmin</name>
<version>2.8.0.2</version>
<type>tool</type>
<category>Maintenance</category>
<menuitems>
<phpmyadmin>phpMyAdmin</phpmyadmin>
</menuitems>
</module>
nano page.myphpadmin.php
copy/paste the following:
<a href="modules/phpmyadmin/phpMyAdmin" target="_blank">phpMyAdmin</a>
cd ../sysinfo
nano module.xml
copy/paste the following:
<module>
<rawname>sysinfo</rawname>
<name>Sys Info</name>
<version>1.0</version>
<type>tool</type>
<category>Maintenance</category>
<menuitems>
<sysinfo>Sys Info</sysinfo>
</menuitems>
</module>
nano page.sysinfo.php
copy/paste the following:
<a href="modules/sysinfo/" target="_blank">Sys Info</a>
cd ../sysstatus
nano module.xml
copy/paste the following:
<module>
<rawname>sysstatus</rawname>
<name>System Status</name>
<version>1.0</version>
<type>tool</type>
<category>Maintenance</category>
<menuitems>
<sysstatus>System Status</sysstatus>
</menuitems>
</module>
page.sysstatus.php should already be configured.
these were the only modules i had used on the previous freepbx, you may have more you need to convert to the new style. anway with what ive showed you here, you should be able to convert any existing modules easily.