time period

Hi Guys,

How can I hide the day, month and year from the light box under the time period section?
I would like to display only the time and all event created will be for current day only.

Is it a good approach to use custom form block?



Yep, actually the custom form block is the only possible solution
(you can modify existing time block , or create a fully new one)

Cool, thanks for the reply.

Just out of interest. The render method in the custom form block, are there any caching mechanism or is it re-rendered every time the light box is opened? There seem to be some pretty complex logic inside existing time block.


Normally render method will be called only once, when lightbox shown first time.