On Thu, 2011-03-31 at 09:26 +1100, Anthony Malkoun wrote:
I would say put the bulk of the code in a "helper" function, which can be called anything, and then the individual methods for the individual fields are just wrappers that call that function.
Oh sorry, meant to mention, don't put it in a field at all, but use computed field's ability to call code in a module.
I see, thanks for the tip. Unfortunately I wanted the code to be editable by someone without FTP access, just by using the admin interface. Is there a way to do so ?
Thanks, Xav