writing new plugin, help needed please
Posted: Sun Jun 04, 2006 6:57 am
Hi all, I'm working on a plugin to display text-link-ads which uses an external php file, and I want users to be able to upload the php code file and the blank xml file from within the plugin config in admin suite. Ideally I would like to be able to call or access the media manager from the plugins screen (just like when you're editing entries) and then use the file name for the php code to include the file.
1. So is it possible to use the media manager from a plugin?
2. And then can I save the filename separately so I can call it as a variable in my include statement?
3. Also, the xml file needs to be writeable, are uploaded files automatically writeable or do I need to do something else as well?
This is my first attempt at a plugin so I do want to learn, but I also need to know where to look and what to look for.
Thanks,
Carl
1. So is it possible to use the media manager from a plugin?
2. And then can I save the filename separately so I can call it as a variable in my include statement?
3. Also, the xml file needs to be writeable, are uploaded files automatically writeable or do I need to do something else as well?
This is my first attempt at a plugin so I do want to learn, but I also need to know where to look and what to look for.
Thanks,
Carl