[Radiant] Setting r:title from a custom extension
Sean Cribbs
seancribbs at gmail.com
Sun Jul 20 21:34:50 CDT 2008
You can set the @title instance variable somewhere in your controller or
template or create a content_for block in your template named :title:
<% content_for :title do %>4-Minute Sweet Harmonious Biscuits<% end %>
Sean
Carl Pattie wrote:
> Hi everyone.
> I have been using Radiant for a while, and have finally made an
> extension for a customer, but I have question for you all to help me put
> the final polish on it. Basically I want to know how to set r:title
> from my controller, or view?
> I noticed the summer reboot documentation effort is producing some good
> reference material, and I must thank all the contributors for that. I
> noticed that Sean is still in the progress of completing the section I
> would be after on this page
> http://wiki.radiantcms.org/Creating_an_extension_VI. Which was very
> helpful by the way.
>
> Thanks,
> Carl Pattie.
>
More information about the Radiant
mailing list