app/soc/modules/ghop/callback.py
changeset 2785 bb6064b9fc9d
parent 2784 801eee4eda9a
child 2787 8408741aee63
--- a/app/soc/modules/ghop/callback.py	Sat Aug 22 03:56:25 2009 +0530
+++ b/app/soc/modules/ghop/callback.py	Sat Aug 22 04:00:56 2009 +0530
@@ -21,6 +21,7 @@
   ]
 
 
+from soc.modules.ghop.views.models import organization
 from soc.modules.ghop.views.models import program
 from soc.modules.ghop.views.models import timeline
 
@@ -43,6 +44,7 @@
 
     self.core.requireUniqueService('registerWithSitemap')
 
+    self.core.registerSitemapEntry(organization.view.getDjangoURLPatterns())
     self.core.registerSitemapEntry(program.view.getDjangoURLPatterns())
     self.core.registerSitemapEntry(timeline.view.getDjangoURLPatterns())
 
@@ -53,5 +55,6 @@
     # require that we had the chance to register the urls we need with the sitemap
     self.core.requireUniqueService('registerWithSidebar')
 
+    self.core.registerSidebarEntry(organization.view.getExtraMenus)
+    self.core.registerSidebarEntry(organization.view.getSidebarMenus)
     self.core.registerSidebarEntry(program.view.getSidebarMenus)
-