[Cubicweb] About uiprops and postcreate

Adrien Di Mascio adrien.dimascio at logilab.fr
Thu Jul 26 15:09:49 CEST 2012


On 26/07/2012 11:08, Stéphane Bugat wrote:
> For what concerns postcreate:
>    - As I use the cubiweb-blog cube, a specific blog box appears in the left context.
>      I wanted it to disappear (as well as the search box) and thought I could do it adding a:
>       set_property('boxes.search_box.visible', u'')
>       set_property('boxes.
>      to the file. Both rose an error.

It's because both are in the ``ctxcomponents`` registry, not the 
``boxes`` one.

Please, try :

  set_property('ctxcomponents.search_box.visible', u'')
  set_property('ctxcomponents.blog_summary_box.visible', u'')

Adrien Di Mascio - LOGILAB, Paris (France).
Formations - http://www.logilab.fr/formations
Développements - http://www.logilab.fr/services
Gestion de connaissances - http://www.cubicweb.org/

More information about the Cubicweb mailing list