Hi Sean,

Thanks for the quick reply.  I was just looking at whether I should add 
that using some of the techniques in the PageAttachment extension.  This 
certainly look simpler, but I'm sorry I don't know where this should go.

Sorry for the trouble :-S

Cheers,
Mohit.
11/2/2007 | 11:17 PM.



Sean Cribbs wrote:
> Mohit,
>
> It might be easier to add a datetime selector to the page edit 
> screen.  I would do it like this:
>
> Admin::PageController.class_eval do
>  before_filter :add_published_at_meta
>
>  def add_published_at_meta
>    @meta ||=[]
>    @meta << {:field => "published_at", :type => "datetime_select"}
>  end
> end
>
> Cheers,
>
> Sean
>


_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to