Hi again @1letter
super(MyCTEditForm, self).updateWidgets()
should be :
super(CollectionEditForm, self).updateWidgets()
Specifying a layer is not working (I get a "This page does not seem to exist…" page); it works without it. Is it always required? If so, how to declare it correctly?
Also,
self.allWidgets['IPublication.effective'].mode = DISPLAY_MODE
results with KeyError: 'IPublication.effective'
So what I get now with this new form is exactly like what I had before. In order to change the rendering of the widgets, I have to customize something (at "# your stuff")?; what and how?
Isn't there a way to override a template to display the form exactly as needed?
Thanks