Johan Bichel Lindegaard wrote:
> I am looking for an extension that lets me modify the creation date of a
> page. Or another simple extension that ads a modify input to the page layout
> and accesses the database entries, that i can easily figure out and modify
> for my purpose.
>
> Thanks Johan.
>   

Johan,

Sean had suggested the solution for that when I had asked.

This might help you get started: 
http://lists.radiantcms.org/pipermail/radiant/2007-November/006929.html

Notes:
[1] The code there will should go in the activate method of an extension.

[2] And then: It will fail cos there is an error in the code on that 
page.  Sean debugged that it was failing because there's no :args 
parameter in the hash.  Change this line to:
@meta << {:field => "published_at", :type => "datetime_select", :args => 
[]}

See if that works.   Sorry this mail is a bit haphazard.  It's collected 
from the mailing list and email that Sean sent me directly (didn't end 
up on the list) and I've copied and pasted the sequence.

Cheers,
Mohit.
11/26/2007 | 1:06 AM.


_______________________________________________
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