I wanted to set up a personal family blog using BlogCFC by Raymond Camden (same as this blog is running). Here's a couple of issues I ran across.
MySQL:
I'm using a MySQL version 4.0.12 and when trying to run the mysql.sql script I got errors. What I needed to do to get it working was to change all ocuranses of the following code:
ENGINE=MyISAM DEFAULT CHARSET=utf8;
to:
TYPE=MyISAM;
Mapping:
The family site is located on the same server as this site, so the mapping to org was already in use. What I did was rename the new org folder to orgtwo, in cf administration create a mapping to orgtwo, and adjust the code in client/Application.cfm acordingly (line 30, 33 and 35).
I know that version 3.5 added support for multiple blogs and users per dsn, but this blog (waterswing) is running an older version (I've messed around with it a bit so I've not bothered to update), and at any rate I wanted the two to be completly independed of eachother.
Renaming:
I thought I was done, but my new blog showed up with the content from this (waterswing) blog. I found out that I needed to change the blogname in the Application.cfm file (line 20). I changed it from "Default" to "ulseth". Then I needed to do the same change in the blog.ini file (line 1)
Aura:
I had earlier a self made blog running on our family site some time ago. That blog used the Aura skin, and I wanted to recreate the look from that one as I liked it pretty much. So I headed over to Joe Rineharts site, and downloaded the "Aura for BlogCFC" distro he has put together.
Unfortuneatly it did not work right out of the box. I suspect this has to do with it being made for an earlier version of BlogCFC. Oh wait - going back to Joe's site and looking at the comments I'm not the first one to experience problems. I decided to go with the solution sugested by Chevy:
In Joes version of layout.cfm I changed all:
/#application.root#/
to
../
I then used DW's find and replace function to get rid of all cfsetting tags in the blog code. However this did not work out for me, and also this solution left a bad taste in my mouth. Deleting all the cfsetting tags felt wrong.
So I replaced all the files I had stripped of the cfsetting tag back to their original state. Then I did what I should have done in the first place. I compared the Joes layout.cfm file with Rays, to see if I could make a modernized version of Joes code to make it work with the latest version of BlogCFC. I wont bother to go into the details, but you can download and study the file.
What's next:
I will now change the graphics and css to make the Aura template look like my old blog. Then I'm going to implement FCKeditor (see previous blog posts about that here). And at last I will implement Joes Photoblogger*. If I run into some issues I think others might find usefull I'll blog about these as well.
Well deserved credits:
A big thanks to Ray for the BlogCFC, and to Joe for the Aura template and Photoblogger*.
* Photoblogger is not yet released, as Joe is waiting for the permision to redistribute a piece of code he uses in it.