woensdag 29 april 2009
Thingamablog templates
To get you started, here are the current Thingamablog template files.
Expand the zip file and replace the files in the templates and web folder of your Thingamablog folder. The one with the large number.
Path in menu
iWeb uses a JavaScript to generate the menu bar at the top of the page.
In Thingamablog you have to add a command tag for Thingamablog to interprete when it generates the pages.
Here's what needs to be changed.
This (partially shown):
'.', {"path-to-root": ""
becomes this
'$BaseURL$>', {"path-to-root": "$BaseURL$>"
Display the source of an iWeb page to see the JavaScript. It starts with new NavBar(.
Wrong MIME type stylesheet
When viewing this blog in Firefox/Flock/Camino on MobileMe, the pages didn't display correctly. While they do display correctly when published on Personal Web Server on my Mac and on another webserver I use.
I couldn't figure out why, since the pages are the same.
Then in Flock I noticed a menu-command to display the Error console. It said the stylesheet wasn't loaded because of a wrong MIME type.
I opened the file to see what was wrong, but couln't determine. So in a hunch, I duplicated the Blog.css file that iWeb creates. Copied/pasted/renamed the Blog.css code to styles-site.css and used that file.
Now the pages display correctly.
