[Cubicweb] About uiprops and postcreate
stephane.bugat at free.fr
Mon Jul 30 16:50:28 CEST 2012
----- Mail original -----
> De: "Aurélien Campéas" <aurelien.campeas at logilab.fr>
> À: "Stéphane Bugat" <stephane.bugat at free.fr>
> Cc: "Sylvain Thénault" <sylvain.thenault at logilab.fr>, cubicweb at lists.cubicweb.org
> Envoyé: Lundi 30 Juillet 2012 16:43:11
> Objet: Re: [Cubicweb] About uiprops and postcreate
> 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