Re: [Radiant] Setting r:title from a custom extension

2008-07-20 Thread Sean Cribbs
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.
  


___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] Setting r:title from a custom extension

2008-07-20 Thread Carl Pattie
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.
-- 
Posted via http://www.ruby-forum.com/.
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant