From 249d1e0453331bd9c92f66dc0cffc87de72622f5 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 30 Jun 2010 23:18:06 -0400 Subject: [PATCH] SiteCore doesn't allow for periods in page names --- sitecore/prof/import.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sitecore/prof/import.py b/sitecore/prof/import.py index 95e07ab..023a45d 100644 --- a/sitecore/prof/import.py +++ b/sitecore/prof/import.py @@ -73,7 +73,8 @@ class ProfessorAdder (object): self.s.expand_nav_section('facultyDirectory') def __call__(self, prof): - name = '%s %s' % (prof.name.first_middle, prof.name.last) + name = ('%s %s' % (prof.name.first_middle, prof.name.last)).replace( + '.', '') self.create_prof_page(name) self.lock_section(name) settings = [ -- 2.26.2