ruby on rails 3 - RefineryCMS Custom Layout Template works in host app but not with engine -


so followed refinery guide create custom layout template. switched page use new template in advanced options , worked charm.

then created new engine called clients , selected new template in advanced options of clients page, know defaults clients - index.html.erb.

but engine ignores template. why? know set correctly because works in page. difference page not part of refinery engine , clients page is. found this question , have tried setting engine's index.html.erb so

<% content_for :body %>  <ul id="clients">    <% @things.each |t| %>      <li>        <%= link_to t.name, refinery.ts_t_path(t) %>      </li>    <% end %>  </ul> 
<%= render :layout => 'layouts/client' %> 

to no avail. appreciated. thanks!


Comments

Popular posts from this blog

ios - iPhone/iPad different view orientations in different views , and apple approval process -

java Extracting Zip file -

C# WinForm - loading screen -