Page 1 of 1

Multiple templates at once

Posted: 2004-11-23 07:48:15
by Wermine
I would like to export same database with multiple templates to multiple html pages at the same time. Example: I have this movie database and I have two templates, movie_ALL.html which I use with mov_all.html (the actual site) and movie_RECENT.html, which I use with mov_recent.html.

When I do this now, I have to export twice with different settings. Recent movies need to be sorted by date, all movies need to be sorted by original title. Also recent movies template uses only "checked" movies.

So it would be great if I could define two different templates, html files for those (where ant movie catalog exports database with that template) and different settings for each template.

Then another thing. If I want to make a.html, where is all movies starting with letter A, and so on, I would have to first check all movies starting with letter A, then export it, then uncheck all, check all movies starting with letter B and so on. If this could be also done with only one export, I could easily sort my movies alphabeticly in different html files. Since I'm starting to have quite many movies, the mov_all.html is starting to take quite while to load.

Of course this could be done with some php scripting, but I don't know how to do it and I want to use my own graphics and templates, which code is pure html. If you want to see my current template in action, see:
http://www.tpu.fi/~t2tsyren/coll3/frames.htm

But this program has easied my job very much. This is nice program, thank you.

Posted: 2004-11-23 08:57:59
by antp
In a future version I will probably add an "export wizard" thing where templates can define themselve what to do.
But since I have lots of things to add I do not know when I will do that.
Until then, the version 3.5 will already be a little easier for you since there is an option to export only selected movies (easier to select movies than check/uncheck them). But that's all what I can provide directly, sorry ;)

Posted: 2004-11-23 09:23:47
by Wermine
Thanks in advance for that upcoming wizard. And btw, those check boxes are great. Those check marks won't disappear when I close and open the program, so I can export always "recent" movies without needing to check them again and again.

Posted: 2004-11-23 10:03:27
by antp
The checkbox are stored like any other field of the movies ;) At first they were added as a "seen/not seen" "available/not available" field.