Meditations on programming, startups, and technology
New Relic

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

Possibly related posts:

  1. How to exclude an action from the controller’s layout processing
  2. Moved to Typo

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

receive my posts by email

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-2012 Antonio Cangiano. All rights reserved.