Folder upload while installing my component

For Joomla! 3.x Coding related discussions, you could also use: http://groups.google.com/group/joomla-dev-general

Moderators: ooffick, General Support Moderators

Forum rules
Locked
User avatar
lavrik_av
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Thu Jul 21, 2011 10:49 am
Location: Ukraine
Contact:

Folder upload while installing my component

Post by lavrik_av » Mon Feb 02, 2015 3:26 pm

Hello,

I work on a Joomla component and I need to have a possibility to upload some files under my folder "images" to "images/stories/my_folder". I tried to do this by using my component's xml but with no result:

<fileset>
<files>
<folder>images</folder>
</files>
</fileset>

How can I do this?

Thanks for advance!
Last edited by imanickam on Tue Feb 03, 2015 5:18 am, edited 1 time in total.
Reason: Moved the topic from the forum Extensions for Joomla! 3.x to the forum Coding in Joomla! 3.x
http://www.mysite4u.net - Joomla/VirtueMart Components Developer


User avatar
lavrik_av
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Thu Jul 21, 2011 10:49 am
Location: Ukraine
Contact:

Re: Folder upload while installing my component

Post by lavrik_av » Tue Feb 03, 2015 12:43 pm

Hi jcms,

Thanks for help, but it doesn't work in my case :(
I'll use script.php
http://www.mysite4u.net - Joomla/VirtueMart Components Developer

ricardovigatti
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Fri Dec 12, 2014 3:40 am

Re: Folder upload while installing my component

Post by ricardovigatti » Wed Feb 11, 2015 9:45 pm

Are you sure that you can't reproduce the tutorial at this link: https://docs.joomla.org/Manifest_files ?

something like:

Code: Select all

<media destination="images/stories/your_folder" folder="images">
        <folder>images</filename>
</media>
should work.


Locked

Return to “Joomla! 3.x Coding”