Multiple templates at once
Posted: 2004-11-23 07:48:15
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.
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.