Title photo
Ode is simple! (Simple means that you know how it works.)

Hello, and welcome to news.ode-is-simple.com.

This is a weblog dedicated to Ode (ode-is-simple.com) and other topics relevant to the project.

If you're looking for general info about Ode you may want to start at the project homepage at ode.simple.com/home

To stay up to date with the newest news and info related to Ode, subscribe to this site's RSS 2.0 using Google Reader or your preferred feed reader.

Posts

Wed, 28 Apr 2010

New Ode release is available (1.2.1)

Ode 1.2.1 is available to download now from ode-is-simple.com/home/.

What's changed?

  1. Introduces a key change related to the handling of relative links in themes. It's now possible to use relative links to resources under theme directories (stylesheets, images, javascript files, etc), WITHOUT including the $found_theme_url variable introduced with the previous release (v1.2.0)

This new capability means that you can use relative links that look and behave just like the common relative links you may be familiar with from working with static sites.

The new behavior still takes advantage of the config file's $document_root_url setting to construct direct URIs to resources that bypass the script. But rather than requiring theme designers to manually work the variable $found_theme_url into into themes, the script now identifies when a relative link is used as the value for 'src' and 'href' attributes and takes care of building a direct URI on its own.

Note: The old style relative links introduced in version 1.2.0, which include the prefix $found_theme_url, are still supported. This means that you are not required to update your themes when installing this version of Ode. You may want to anyway. Regardless of whether you modify your existing themes or not, there should be no reason to use the variable $found_theme_url with relative links in future themes.

The upgrade is straightforward as usual.

  1. Replace the installed copy of odi.cgi with the new version.
  2. Set the path to your existing config file in the configuration section of ode.cgi.

You do not need to modify your config file, themes, or any other aspect of your site for that matter. Upgrade and installation instructions are included as part of the release package. You may want to modify your themes to take advantage of the new relative links.

If you already have Ode running, there is nothing about this update that should should give you any trouble.

Again, it's available now at ode-is-simple.com/home/. Enjoy!

The upgrade procedure is a little more involved this time.

In addition to replacing the your currently installed copy of ode.cgi, you will need to replace the config file (because of the new document root URL setting).

Upgrade and installation instructions are included as part of the release package.

Again, it's available now at ode-is-simple.com/home/. Enjoy!