If your goal is to create a navbar/sidebar/etc, you might consider using
tgext.menu. It's at http://bitbucket.org/pedersen/tgext.menu/ and does
exactly what you're looking to do. It's also installable via PyPI.

On Mon, Jun 28, 2010 at 3:41 AM, Diez B. Roggisch <[email protected]> wrote:

>
> Am 28.06.2010 um 09:35 schrieb bloeper:
>
>
>  Hey Diez,
>>
>> thanks for the reply, with the latter you mean the solution you mean
>> this one:
>> add the call to the master-template all your pages, to render the
>> menu. ?
>>
>
> Yes.
>
>
>
>> If that's the case, what do you mean with it? that in the request call
>> for the page, the menu get's requested also?
>>
>
> Yes. If you put code into master-template & inherit from master-template,
> it should be called on each request which renders a page dependend on
> master-template. It won't be called on e.g. json-responses, which IMHO is a
> good thing - nobody needs a menu in json.
>
>
> diez
>
> --
> You received this message because you are subscribed to the Google Groups
> "TurboGears" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<turbogears%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/turbogears?hl=en.
>
>


-- 
Michael J. Pedersen
My IM IDs: Jabber/[email protected], ICQ/103345809, AIM/pedermj022171
         Yahoo/pedermj2002, MSN/[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en.

Reply via email to