def service_created(service, event): """Add all default templates to the service. """ service._sitename = service.get_root().get_title_or_id() for identifier in [ 'subscription_confirmation_template.pt', 'already_subscribed_template.pt', 'cancellation_confirmation_template.pt', 'not_subscribed_template.pt', 'publication_event_template.pt']: add_helper(service, identifier, globals(), pt_add_helper, True)
def add_forum_notification_tempate(service, event): add_helper(service, 'forum_event_template.pt', globals(), pt_add_helper, True)
def add_forum_notification_tempate(service, event): add_helper( service, 'forum_event_template.pt', globals(), pt_add_helper, True)