« Start With a Background Image | Main | Contents of A Template »
Sunday, September 27, 2009New Bio PageI created a bio page to go along with this blog. It is a separate page from the blog so that I can refer to it from several different blogs without having to create it again. In fact, as I continued editing the page, it became apparent that I was repeating many things that were already on my home page but in a different format. So I just turned the bio page into my new home page and that is that. You can see it here The look of that home page will be similar to the look of my new blog template. There are several things that must be included in a zip file to make an installable Thingamablog template.
The pack.properties file looks like this: # #Sun Sep 27 14:18:15 EDT 2009 author=thekimerers.com description=A template set custom created to use with the NHAT blog title=NHAT created=1254075498000 The number at the "created" line is just the creation time specified as the number of milliseconds since Jan 1, 1970, which is the standard way that Java keeps track of time. The template files that are required are:
The template files are just html files that call out the stylesheet ID's and classes plus the custom Thingamablog tags that are replaced with the blog contents. To get started on creating my new template I did the following:
In order to see the results of my changes to my template I have to jump through some hoops. Here are the steps I have to take.
I am basically creating the new template, installing it, and refreshing the entire blog with the new version. That is a real pain. So I came up with a way to get some more immediate feedback. I created a "test" directory in my sandbox. Then I copied the following things into it
I changed the name of the template file to "main.html". Now I can view the template in place and see the effects of the changes to the .css by simply reloading the main.html file in the browser. Of course, there is no content in the "blog" page, and what I see in place of the content is the Thingamablog custom tags, <$tag$>. But that is OK because I am only looking at the format for the style sheet and the template anyway. Once I get it like I want it I will go through the steps above to see what it looks like with content in it.
Posted by Brian S. Kimerer at 4:50 PM
This site and all of its contents are copyright Brian S. Kimerer 2009 |
I am a software engineer by trade. For fun I build and play banjos and paint pictures. To see some of my work, click on the link that says "My Web Site" in the Links section of this page. Favorite Links
Google Site Search
Credits
|