VirtueMart Forum

VirtueMart 2 + 3 + 4 => Frontend Modules => Topic started by: psm on July 13, 2013, 15:23:36 PM

Title: manifest file doesnt work
Post by: psm on July 13, 2013, 15:23:36 PM
Dear all,
could you plese help me to create manifest file for one module, which I would like to add to virtuemert?
I check some manuals and I think that this xml file will be functional:
<extension>
        <media folder="search" destination="modules/searchajax">
                <filename>config.php</filename>
                <filename>quicksearch.php</filename>
                <filename>head.php</filename>
                <filename>index.php</filename>
                <folder>css</folder>
                <folder>js</folder>
                <folder>font</folder>
        </media>
</extension>

It is all what I wrote to this xml file and I named it as manifest.xml. But after I tried to upload and install this module to joomla it was writting:

     "Unable to find install package"

When I installed another module from internet it was ok.

Could you please help me, what I did wrong?

Thanks
Title: Re: manifest file doesnt work
Post by: Maxim Pishnyak on July 13, 2013, 15:42:48 PM
Check any xml file of any standard VM module.
There's some more rows in the header of file etc.
Title: Re: manifest file doesnt work
Post by: psm on July 13, 2013, 21:28:53 PM
Thank you, I found that there are not these data:
<extension type="module" version="2.5" client="site" method="upgrade">
But I do not know what I should fill to type, because when I give there type=component it want to have some administration section.

Could you please advice me?
Title: Re: manifest file doesnt work
Post by: psm on July 13, 2013, 22:00:30 PM
I add there just empty <administration> tags and it was isntalled successfully but there are not any files in ftp folder. Do someone know why?
Thanks
Title: Re: manifest file doesnt work
Post by: Maxim Pishnyak on July 13, 2013, 22:38:18 PM
That's right. You're making module, so you don't need to use "component".

You could check how declared used files by example module.
And check where these files are situated on your web site.
Title: Re: manifest file doesnt work
Post by: psm on July 15, 2013, 22:04:45 PM
Thank you, I checked some codes and I did it.  ;)
Title: Re: manifest file doesnt work
Post by: Maxim Pishnyak on July 15, 2013, 22:23:57 PM
You're welcome!