By Antonio Cangiano, Software Engineer & Technical Evangelist at IBM

Programming Screencasts

Typo and Lucid theme error

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. ;-)


| More

If you enjoyed this post, then make sure you subscribe to my Newsletter and/or Feed.

2 Responses to “Typo and Lucid theme error”

  1. Jacob Fugal says:

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

  2. 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. ;)

Copyright © 2005-2010 Antonio Cangiano. All rights reserved.