Problems with Standalone Skins v0.2 by Chris McDonough
Hello, Are there anyone in this list that have used Standalone Skins v0.2 by Chris McDonough? I can't get it to work properly in my product (all objects are created in code, I don't use the ZSI at all): 1. All my Directory Views are cleared everytime Zope restarts and I have to delete my product object and re-add it in order to get it to work again. 2. Only the most recent call to addSkinSelection gets saved, i.e. the following code causes only the 'custom' layer to be added to the skin 'default': tool.addSkinSelection('default', 'style') tool.addSkinSelection('default', 'master') tool.addSkinSelection('default', 'ui') tool.addSkinSelection('default', 'custom', make_default=1) Any ideas? Thanks in advance, -Petter-
Petter Holmström wrote:
2. Only the most recent call to addSkinSelection gets saved, i.e. the following code causes only the 'custom' layer to be added to the skin 'default':
tool.addSkinSelection('default', 'style') tool.addSkinSelection('default', 'master') tool.addSkinSelection('default', 'ui') tool.addSkinSelection('default', 'custom', make_default=1)
Hi again, Figured this one out, I should have used tool.addSkinSelection('default','custom,style,master,ui'.... instead. Problem #1 still remains though. -Petter-
participants (1)
-
Petter Holmström