News:

Looking for documentation? Take a look on our wiki

Main Menu

manifest file doesnt work

Started by psm, July 13, 2013, 15:23:36 PM

Previous topic - Next topic

psm

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

Maxim Pishnyak

Check any xml file of any standard VM module.
There's some more rows in the header of file etc.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

psm

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?

psm

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

Maxim Pishnyak

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.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

psm

Thank you, I checked some codes and I did it.  ;)

Maxim Pishnyak

You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart