Hi, I'm writing a plugin to export galleries for my homepage (standard html stuff). My current solution works and it creates a file named "index.html" and some additional stuff. Now I want to change the name of the created html file in the plugin (for example create a file galleryX.html with X being a number that is entered by the user). Is there a way to do this? Thank you in advance, Sebastian
I think the names of the files come from the plugin manifest. So you would create a file used as a template, and the name of that file would be the name of the resulting file.
AddPhotoPages and AddGridPages take options to control the target HTML filename that might give you what you want, as well.
Hm, maybe I don't understand you correctly, but that does not seem to fulfill my requirement that I want to change the name of the html file for each export. And currently my template is named "gallery.html" but the result file is named "index.html".
Well, the source for this would be the SDK docs. When I glanced at the docs there seemed to be hooks to programmatically create resource names.