Morph AppSpace - Platform as a Service for RoR

Typo and Lucid theme error

Antonio Cangiano June 29th, 2006

The Typo theme ‘Lucid’ seems to generate an error when used with the latest version (trunk) of Typo. In order to solve this, simply replace the following code in your /typo/themes/lucid/layouts/default.rhtml file:

<%= render_component(:controller => 'sidebars/sidebar',
:action => 'display_plugins') %>

with

<% benchmark "BENCHMARK: layout/sidebars" do %>
  <%= render_sidebars %>
<% end %>

This should fix it. ;-)


If you enjoyed this post, then make sure you subscribe to my RSS Feed.

  • Quick Tips , Ruby on Rails
  • Comments(2)

2 Responses to “Typo and Lucid theme error”

  1. Jacob Fugalon 29 Jun 2006 at 11:24 am

    Why the benchmark wrapper? Is that required to make it work, or just a suggestion? :)

  2. Antonio Cangiano CANADAon 29 Jun 2006 at 12:33 pm

    Hi Jacob,
    it’s just a suggestion :) The default theme ‘Azure’ has the wrapper, so I thought it’d be a consistent behaviour to keep it in other themes. ;)