• OOTB Plone Themes discussion

  • viewlets.xml hell

    from merckx on 2008-05-07 13:59
    Hey folks, quick question. I'm consistently unable to have changes to
    viewlets.xml 'take hold' in my theme without the drastic step of nuking my
    development site, creating a new one, and reinstalling the theme product.
    These are themes created with paster (more than one) and my typical futile
    attempt looks something like:
    
    - edit viewlets.xml (say, hide siteactions)
    - change the version number of the product
    - restart zope
    - reinstall the product from plone_control_panel
    - tada! nothing. zilch. nada.
    
    Reimporting the theme profile via GS hasn't worked either, IIRC.
    
    Without doing anything else (eg no other changes to the product), deleting
    the existing site, creating a new one, and installing the theme product
    causes the "new" viewlets changes to take effect.
    
    This is suboptimal, to say the least, and I'm wondering what I might be
    doing wrong here as others I've spoken to (veda, duffyd) don't seem to have
    the same problem. I have been part of conversations on #plone where others
    do, however.
    
    Thanks,
    Trey