[Cubicweb] About uiprops and postcreate

Aurélien Campéas aurelien.campeas at logilab.fr
Mon Jul 30 16:43:11 CEST 2012

Le 30/07/2012 16:36, Stéphane Bugat a écrit :
> Sylvain, thanx for these explanations.
> Indeed, I was looking for making the searchbox totally disappear. Actually I wanted to put it in the header part of the HTML page, not in the left column, but after a few and unsuccessful tries to change its context I realized that there was no other way than hiding it and creating a new one in a specific HTMLPageHeader.main_header() method.
> I was pretty sure that from a pure performance point of view, this was not well optimized, so I'm glad you gave me the solution.
> If I understood well, to unregister it, I have to use the vreg.unregister() method in registration_callback(vreg), is that it?

It is.

More information about the Cubicweb mailing list