I've created a pretty simple module for mambo that has a poll and displays results. Its the first module I've created for mambo and I'm pretty new to mambo in general and I'm having a few problems getting my module to install.
When I try to install it by uploading the .zip file it tells me that the installation file could not be found. This doesn't happen when I try and install other modules though, so its not a server issue I dont think. I've tried installing it from the xml file locally but that doesn't seem to do anything at all.
Here is the code of the xml file, all the filenames are correct, so I really dont know whats wrong.
Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<mosinstall type="module">
<name>How Happy Are You?</name>
<creationDate>15/06/06</creationDate>
<author>Petr Gallagher</author>
<copyright></copyright>
<authorEmail>peter.gallagher@holidayextras.com</authorEmail>
<authorURL></authorURL>
<version>1.0</version>
<description>A poll asking the general feeling of happiness from users which in turn displays an image appropriate to the general consensus</description>
<files>
<filename module="mod_how_happy">mod_how_happy.php</filename>
<filename>mod_add_vote.php</filename>
<filename>mod_display_poll.html</filename>
<filename>howhappy.gif</filename>
<filename>happy.gif</filename>
<filename>unhappy.gif</filename>
<filename>unsure.gif</filename>
</files>
</mosinstall>
I know the php all works fine as I can run it on a server as just a php file, but I can't seem to get this module to work.
Cheers for any help.
Peter.