Log in

View Full Version : Files in product.xml


hambil
04-11-2007, 09:41 AM
I would like to be able to specify in the product.xml files that need to be uploaded.


<files>
<file destination="$xml/cpnav_myproduct.xml"/>
<file destination="$admincp/doadminstuff.xml"/>
<file destination="$images/mynewimage.gif"/>
</files>


I would then like the end-user to be able to import a zip instead of just the product.xml. The files would be unzipped and placed in the proper directory.

This has the advantage of simplifying the process of installing hacks, and eliminating the need for FTP access. Further, the files can be automatically removed on uninstall.

Dismounted
04-11-2007, 09:48 AM
Wouldn't this be something for vBulletin.com forums? :p

hambil
04-11-2007, 09:55 AM
Yeah, I should post it there I guess. :)