I've mu install.xml file with:
<media destination="com_mycomp/images" folder="media"> <filename>images/file1.png</filename> <filename>images/file2.gif</filename> </media>
and throughout cellular phone folders are produced but don't copy the files? Why?
My component folder structure:
com_mycomp | install.xml | +--- site | | | + (...) | +--- admin | | | + (...) | +--- media | + images | + file1.png | + file2.gif
How you can put files to media folder on installation?
<media destination="com_mycomp" folder="media"> <folder>images</folder> </media>
make use of this sample code and it'll upload all file in images folder