On Mon, 2008-04-02 at 19:27 +0100, Christopher Arndt wrote: > Kevin Horn schrieb: > > On Feb 3, 2008 4:32 PM, Mark Ramm <[EMAIL PROTECTED]> wrote: > >> But, I still like the idea of flash, and wold be happy to see it > >> expanded upon, particlarly now that there's so little code. I seem > >> to remember somebody doing a set of extensions to the tg_flash stuff > >> in turbogears 1, does anybody remember where that was and weather it's > >> worth including in tg2? > > > The only thing I remember was Lee's article here: > > http://www.splee.co.uk/2005/11/23/fancy-status-messages-using-tg_flash/ > > A while ago, I took the idea from this article and built some general > modules for an enhanced flash message display widget. The code is > included in my CBlog application, but the newest version of this is not > available for download atm. > > So, I took some time today, to build a proper TurboGears > widget/extension package and now (*drum roll*) I present to you: > > TurboFancyFlash: http://pypi.python.org/pypi/TurboFancyFlash > > The package is for TG 1.x and it builds on the original turbogears.flash > function. It also relies on the "tg_include_widgets" config option. > > I don't know if there's a similar mechanism for TG 2 and ToscaWidgets > available. But in principle, the same technique should be easy to > implement for TG 2 too.
Here's my vote on just baking this right into the TG2 core. Yay! iain --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" 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-trunk?hl=en -~----------~----~----~----~------~----~------~--~---
