...of course but i want to:
1 create a file with the same name in /assets/$type (chunk, snippet,template,plugin)
2 make the chunk, snippet,template,plugin static
3 assign the file created to the propper field
all this to automate the process of converting.
...anyways thank for trying help!
Quote from: okyanet at Nov 18, 2012, 07:13 AMI don't think you need to add another checkbox, you already have 'Is Static'.
Just set your plugin to run on the 'OnChunkSave', 'OnPluginSave', 'OnSnippetSave' events and in your code check if 'is_static' is set to true. If it is, then you can check to see if the static element already exists on the filesystem, and if not create a new file.