Sphene Community Tools

Community

Copyright © 2007-2018 by Herbert Poul

You are not logged in.
Login
Register

Change Language:



AddThis Social Bookmark Button

A Django site.

Powered by Sphene Community Tools
Board » General » NavigationType "Top navigation"

Is it some upcoming feature, or is it some abandoned plans so the patch is needed?
can people stop using the internet, its getting slow for me
it is more or less an abondoned feature.. or at least unused.. but nothing prevents you from using it in your templates..
Hey, we have Signatures !!! Great, isn't it ? ;)
In addition it requires either relevant context processor, or such patch for existing navigation context processor (unified diff):
--- communitytools/sphenecoll/sphene/community/context_processors.py.orig       2009-07-04 19:24:50.000000000 +0600
+++ communitytools/sphenecoll/sphene/community/context_processors.py    2009-07-12 16:31:22.000000000 +0600
@@ -30,6 +30,8 @@
     if group:
         return { 'navigation_left': Navigation.objects.filter( group = group,
                                                                navigationType = 0 ),
+                'navigation_top': Navigation.objects.filter( group = group,
+                                                               navigationType = 1 ),
                  'urlPrefix': urlPrefix,
                  'group': group,
                  'sph': sphdata,

I think it would be convenient to commit this (to avoid monkey patching for people who need this feature).
BTW, will this whole navigation thing be obsolete after the introducing of the blocks framework?

--- Last Edited by heilkitty at 2009-07-12 19:33:41 ---
can people stop using the internet, its getting slow for me
i have committed your change into the trunk, thanks..

as for the blocks framework - in theory .. yes, it should make the navigation thing obsolete.. unfortunately this block framework is currently more or less on hold, because the application for which i was developing it for has not taken off.. and in general the interest into it seems to be not that big. (well.. it seems you discovered it, so maybe it's not so useless after all :) ) - in general i wouldn't wait for it right now.
Hey, we have Signatures !!! Great, isn't it ? ;)

Please login to post a reply.



Powered by Sphene Community Tools