View more context



(To develop CMS features or theme features)


Morning Gents. With the TimeField when the field is null in the database it displays a default of 12:00. If i click the x in the field then it sets it to display -- -- How can I set that field to display -- -- when it's null and not prefill 12:00? I can't seem to find where I can set / override a default

John Lombardo

Quickie question about scopes. I have a template for a an Elemental Block and I am trying to access a Page-level method. I thought $Top would have put me into the right scope, but that doesn’t seem to be working.


@Nick If the value is NULL then when the Value() method is called, it will be reset to midnight. You can subclass the TimeField however, and make it so if the value is NULL return '' otherwise call parent.


@Nick Ok, Thanks, done that and works good.