Questions tagged [zcml]
21 questions
1
vote
1 answer
Plone 4.3.3 - Schema-Driven types - plone.directives.form not importing
I am following the Plone guide for Schema-Driven Types: http://docs.plone.org/external/plone.app.dexterity/docs/prerequisite.html
Running:
Mac OSX 10.8.5 Mountain Lion
Plone 4.3.3 http://plone.org/products/plone/releases/4.3.3
When I get to the…

Josh Birdwell
- 745
- 4
- 21
0
votes
1 answer
python ImportError: No module named resource in fanstatic configure.zcml in grok-based project
File "/root/.buildout/eggs/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 1954, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File…

citronic
- 9,868
- 14
- 51
- 74
0
votes
2 answers
How to make zope load my ZCML?
When I write some utility, register it and then query with getUtility it works ok:
class IOperation(Interface):
def __call__(a, b):
''' performs operation on two operands '''
class Plus(object):
implements(IOperation)
def…

Bunyk
- 7,635
- 8
- 47
- 79
0
votes
3 answers
Unregister a zcml resource directory in Plone
I would like to 'unregister' a resource directory registered with configure zcml and the directive
I have uninstalled my custom add-on that originally registered the resource directory, but other packages are still able to call…

Aaron Williams
- 655
- 4
- 11
0
votes
1 answer
Change i18n_domain for Products.Five registered pages
It seems that one template from Products.Five (manage_interfaces) has a bad i18n markup, making interfaces name translatable. i18n domain is not defined, therefore the global one is used.
I want to change the i18n domain for that page, but I don't…

Mihnea Simian
- 1,093
- 1
- 7
- 13
-1
votes
1 answer
How to configure profiles directory in main configure.zcml to create a own viewlet
I am trying to create a own viewlet to change the default plone site using viewlet.I created viewlets.xml file under profiles/default directory.In the viewlets.xml file contains the code to hide the default plone logo.I registered profiles directory…

Python Team
- 1,143
- 4
- 21
- 50