Thanks a lot,
However... I still get an error, maybe it's because of bad code in one
of my widgets... But...
I get the following error:
File
"/usr/lib/python2.5/site-packages/SQLObject-0.9.1-py2.5.egg/sqlobject/dbconnection.py",
line 832, in assertActive
assert not self._obsolete, "This transaction has already gone
through ROLLBACK; begin another transaction"
AssertionError: This transaction has already gone through ROLLBACK;
begin another transaction
Error in code generated from template file
'/usr/lib/python2.5/site-packages/nfvi-1.0-py2.5.egg/nfvi/templates/login.kid'
full traceback: http://paste.turbogears.org/paste/1672
If someone knows what might be wrong that would be awesome because I
really need this...
On 10/4/07, asm <[EMAIL PROTECTED]> wrote:
>
> 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
>
>
> >
>
--
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
-~----------~----~----~----~------~----~------~--~---