§Adding Templates and Weblogs.
If you have been using Pivot for a while, and you are familiar with editing templates and setting up weblogs, it's not hard to add a whole new weblog with new templates. Here's how I usually go about it:
I make a dummy of my new weblog. Just a static html page, with dummy Lipsum text. I do not try to make everything look perfect yet, because things always look a little different as soon as there's real content in it. When I am satisfied, I upload this new template to my pivot/templates folder. The graphic files I used are uploaded as well. Perhaps top a folder called pics/ in the root folder of my weblog.
First thing to do is make sure there is at least one [[subweblog]] tag in the new template, otherwise Pivot will not generate the files. (which makes sense, because as far as pivot is concerned there is nothing to publish yet.
Then I make a new Weblog, under
. For the frontpage I select my new template, and for the other templates I use just some of the standard ones.. For the names of the files that are genereated I just choose some temporary names and then I save the weblog.TIP: For these temporary names you can pick whatever you want, but make sure that you will not override any existing files.
TIP: if you're going to publish in new categories, write at least one entry in that category. If a category has no entries, it will nog be published.
Then I go through lots of iterations of the following:
- Edit you template. Replace the dummy text. Add [[log_dir]], [[template_dir]], [[weblog_title]], [[charset]], [[subweblog:blabla]] and other tags you want, one at a time;
- Generate the frontpage in Pivot;
- Inspect your frontpage to see if you get the expected results;
- Repeat.
First I use one of the existing _sub_entry_whatever.html files, and then I replace them with my new one. Still: Edit, generate, inspect, repeat.
Then, when you're finally satisfied with how everything looks, you can edit your weblog again and set the final names for your new weblog. Generate again, make sure people can find your new log, sit back and relax.