If I understand you correctly you should be fine.  You'd have a
base.html template with a {% block %} for your navigation, and then a
separate {%block%} for your content.  In the navigation block you'd
use some dictionary entry (e.g., navbar_dict) to populate your various
entries in the navigation bar.  Then whenever you render some child
template that inherits from the base.html template you need to make
sure you pass that navbar_dict element as well as any other dictionary
elements needed by the child template, and the navbar "block" should
pick up on those values and render appropriately.

On Mar 19, 3:31 am, dicko <[email protected]> wrote:
> Hi there
>
> Just wondering if there is a way to dynamically include content from
> within a global template like index.html.  I'm hoping to serve
> navigation elements from the database to this template while rendering
> page specific content through another template.  Does this make sense?
>
> If there isn't a method to achieve this, could I use something like
> URL Fetch to achieve the same objective or is this a really bad idea?
>
> thanks heaps.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to