--- MPIWGWeb/MPIWGStaff.py 2009/09/30 16:56:00 1.10.2.70 +++ MPIWGWeb/MPIWGStaff.py 2009/12/15 13:16:47 1.10.2.73 @@ -369,9 +369,14 @@ class MPIWGStaff(CatalogAware,ZSQLExtend if result is not None: # Got a cached value. return result - - pt = getTemplate(self, "members_main") - # Execute the template in a new security context. + + # look for individual page + if self.hasObject("index.html"): + pt = getattr(self, "index.html") + # else use template + else: + pt = getTemplate(self, "members_main") + # Execute the template in a new security context. security.addContext(self) try: @@ -632,7 +637,7 @@ class MPIWGStaff(CatalogAware,ZSQLExtend """erzeugt ein automatisches Profil aus den alten Eintraegen CV, Current work, und research interests""" ret="" - founds=self.ZSQLInlineSearch(_table='research_interest',key_main=person.key) + founds=self.ZSQLInlineSearch(_table='research_interest',key_main=person.getKeyUTF8()) if founds: ret="

Research interests:


" for found in self.sortPriority(founds):