Sun, 07 Dec 2008 17:02:32 +0000 Add site scoped documents to the Site menu
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 07 Dec 2008 17:02:32 +0000] rev 706
Add site scoped documents to the Site menu This allows for featured documents that belong to the Site scope to show up in the 'Site' menu. Patch by: Sverre Rabbelier
Sun, 07 Dec 2008 17:02:10 +0000 Move document sidebar entries extraction to document.View
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 07 Dec 2008 17:02:10 +0000] rev 705
Move document sidebar entries extraction to document.View This way other modules can benefit from the same logic. Also make use of the sidebar.getSidebarMenu method so that getMenusForScope is no longer specific to full menu's. Patch by: Sverre Rabbelier
Sun, 07 Dec 2008 17:01:44 +0000 Factor out sidebar entry construction
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 07 Dec 2008 17:01:44 +0000] rev 704
Factor out sidebar entry construction This makes it possible to reuse this logic in other modules as well, preventing code duplication. While at it, move additional_sidebar merging before the other entries (additional entries should go first, since the other entries are mostly dev-only etc). Patch by: Sverre Rabbelier
Sun, 07 Dec 2008 15:29:37 +0000 Rename getSidebarLinks to getSidebarMenus
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 07 Dec 2008 15:29:37 +0000] rev 703
Rename getSidebarLinks to getSidebarMenus Patch by: Sverre Rabbelier
Sun, 07 Dec 2008 15:29:10 +0000 Remove bogus scope from Site
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 07 Dec 2008 15:29:10 +0000] rev 702
Remove bogus scope from Site This makes Site an unscoped entity (similar to how User and Sponsor do not have a scope). Patch by: Sverre Rabbelier
Sun, 07 Dec 2008 15:28:36 +0000 If an entity is unscoped, do not try to retrieve a scope
Sverre Rabbelier <srabbelier@gmail.com> [Sun, 07 Dec 2008 15:28:36 +0000] rev 701
If an entity is unscoped, do not try to retrieve a scope Patch by: Sverre Rabbelier
(0) -300 -100 -30 -10 -6 +6 +10 +30 +100 +300 +1000 tip