Re[4]: [GEN] Template Handler
- Posted by "Thomas Parslow (PatRat)" <patrat at rat-software.com> Sep 26, 2001
- 412 views
> Thomas, > That sounded so easy, I had to think a while to see if there was something > wrong with it; one thing is that some "updating" templates wouldn't be new > *files*, since individual template files are whole *categories* of > templates, containing potentially more than one template, so I'm trying to > make sure I can do something which will *add* any such into their > appropriate already existing files. > But your suggestion does make me think I'll scrap what I've been doing in > terms of putting *both* new files of templates *and* new templates meant to > go into existing files into the same "update" file; probably any new > files(categories) of templates can just be distributed essentially as you > said (I was just going to have them in the same folder as the Handler, not > sure if I need to put them into a subfolder), and reserve the "update" file > for templates which need to be put into existing template files. > Thanks! > Dan How about having the name of the category in each file rather than relying on the filenames? Then a category could be made up of multiple files which are merged as they are loaded. Thomas Parslow (PatRat) ICQ #:26359483 Rat Software http://www.rat-software.com/ Please leave quoted text in place when replying