This problem falls into several parts. For an example of supplying data to every page - have a look at: http://code.google.com/p/tg-breadcrumbs/
You will of course need to put some stuff into the master template, that you are using, to ensure things get shown. This should get you part way. A On Oct 4, 3:58 am, "Halldór" <[EMAIL PROTECTED]> wrote: > Hi there, > > I'm building a site in turbogears and on every page I want to see > who's logged in, a list of ppl who's birthday is today etc. > So I made widgets for these thing. But all those things are stored in > the database so I can't just include it in my template since that's > too late to fetch from the database (right?). > > How would I include these on every page I've got? How can I always > return either the widgets or the data I need for the widgets? > > -- > kv. Halldór Rúnarsson --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

