Archive for August, 2008

Migration of CMS made simple install from localhost to GoDaddy server

Three options:

  1. install from scratch, copy & paste (horribly time consuming if your site is complex)
  2. save database, upload all files, create database on GoDaddy server, update config.php to reflect new settings. I tried that and somehow it didn’t work. I think the problem was root_path in config.php - it should not be /mysitename/mycmsmsfolder (or whatever your file directory may show when you view your files) but instead it should be something like :
    /home/content/a/b/c/yourusername/html/yourwebsitename/yourcmsmsfolder- Replace “a/b/c” with the first three letters of your godaddy username, and “yourusername” with your godaddy username
  3. Take the middle road and run install with your new, transferred database (as in 2.) but do not worry about editing config.php. Check off the “create tables” and “install sample content” boxes. This is what I ended up doing and how I realized the root folder was not /mysitename/mycmsmsfolder but /home/content/a/b/c/myusername/html/mysitename/mycmsmsfolder

Setting up a blog in CMSMS

I’ve recently started using CMS Made Simple as a content management system. They focus on simplicity but still offer a blogging engine, which I wanted to try out. Well, in other CMSs you can just go to mysite.com/blog and see it, not here. So here are the steps to being able to access your blog in CMS made simple:

  1. Make sure it’s installed (it was by default for me) - if not, check the modules section and install.
  2. Create a post:
    1. Go to content -> Blogs made simple
    2. Create a new category (e.g. “general”)
    3. There will be a new tab called “entries” - go there and create a new entry. Write whatever you’d like.
    4. In blog-> settings, set the CMS alias for blog-rootpage to something meaningful, like “blog”
  3. Attach a stylesheet to the blog module: this allows CMSMS to know how to display the blog.
    1. Go to layout->stylesheets
    2. Click on the yellow CSS icon for the “Modules: Blogs made simple” line
    3. Select a stylesheet to attach and submit (this should be the one corresponding to the page where you’ll show your blog, most likely similar to the rest of your website)
  4. Create a page
    1. Go to Content->pages
    2. Create a new page and make sure it’s alias is the same as the one you set in the blog settings page, i.e. something like “blog” (you can set the alias in the “options” tab)
    3. Paste in the content the following tag:

{cms_module module=’Blogs’ }

The tag can also include parameters too.

Now you can go to mysite.com/blog and see the blog posts!