diff -r 3944749338d3 -r 339696f3f5cf app/soc/modules/ghop/callback.py --- a/app/soc/modules/ghop/callback.py Sat Aug 22 03:56:04 2009 +0530 +++ b/app/soc/modules/ghop/callback.py Sat Aug 22 03:56:14 2009 +0530 @@ -21,6 +21,9 @@ ] +from soc.modules.ghop.views.models import program + + class Callback(object): """Callback object that handles interaction between the core. """ @@ -39,9 +42,14 @@ self.core.requireUniqueService('registerWithSitemap') + self.core.registerSitemapEntry(program.view.getDjangoURLPatterns()) + def registerWithSidebar(self): """Called by the server when sidebar entries should be registered. """ # require that we had the chance to register the urls we need with the sitemap self.core.requireUniqueService('registerWithSidebar') + + self.core.registerSidebarEntry(program.view.getSidebarMenus) +