Example #1
0
 def initializeArchetype(self, **kwargs):
     ret_val = ATCTFolder.initializeArchetype(self, **kwargs)
     # Enable topic syndication by default
     syn_tool = getToolByName(self, "portal_syndication", None)
     if syn_tool is not None:
         if syn_tool.isSiteSyndicationAllowed() and not syn_tool.isSyndicationAllowed(self):
             syn_tool.enableSyndication(self)
     return ret_val
Example #2
0
 def initializeArchetype(self, **kwargs):
     ret_val = ATCTFolder.initializeArchetype(self, **kwargs)
     # Enable topic syndication by default
     syn_tool = getToolByName(self, 'portal_syndication', None)
     if syn_tool is not None:
         if (syn_tool.isSiteSyndicationAllowed()
                 and not syn_tool.isSyndicationAllowed(self)):
             syn_tool.enableSyndication(self)
     return ret_val
 def initializeArchetype(self, **kwargs):
     self.allow_discussion = False
     ret_val = ATCTFolder.initializeArchetype(self, **kwargs)
     # Enable topic syndication by default
     syn_tool = getToolByName(self, 'portal_syndication', None)
     if syn_tool is not None:
         if (syn_tool.isSiteSyndicationAllowed() and \
                 not syn_tool.isSyndicationAllowed(self)):
             syn_tool.enableSyndication(self)
     return ret_val
 def initializeArchetype(self, **kwargs):    
     ret_val = ATCTFolder.initializeArchetype(self, **kwargs)
     return ret_val