On Sun, Dec 21, 2008 at 11:59 PM, Jorge Vargas <[email protected]> wrote: > > On Sun, Dec 21, 2008 at 8:47 PM, Lukasz Szybalski <[email protected]> wrote: >> >> On Sun, Dec 21, 2008 at 1:26 PM, Lukasz Szybalski <[email protected]> >> wrote: >>> On Sat, Dec 20, 2008 at 4:48 AM, Florent Aide <[email protected]> >>> wrote: >>>> >>>> On Sat, Dec 20, 2008 at 6:02 AM, Lukasz Szybalski <[email protected]> >>>> wrote: >>>>> >>>>> I've reopened 2033, >>>>> http://trac.turbogears.org/attachment/ticket/2033/login_handler.diff >>>> >>>> please link to tickets, not diffs. Please open a new ticket for this >>>> do not reopen old ones. >>>> >>>>> >>>>> The new template in tg.devtools is missing few tg.url. >>>> >>>> a new ticket would be fine. >>>> >>>>> >>>>> I'm attaching a patch to fixes it in templates but after a user logs >>>>> in the page gets redirected to '/' instead of tg.url('/'). I cannot >>>>> find where in the code the process gets redirected. The logout button >>>>> seem to redirect at the end to /login?came_from instead of >>>>> tg.url('/login')?came_from . >>>>> >>> >>> any idea where in a code this redirection is? I doesn't seem to be in >>> a template and not in root.py? Let me know so we can fix this, >>> otherwise the modwsgi deployment doesn't work properly. >> >> Anybody know where this happens in a code? After I log in how do I >> redirect to page xyz, instead of what is currently redirected as >> default? >> > This is part of repoze.who's RedirectingFormPlugin, which is > configured by default in repoze.what's quickstart for TG,
Which file, it seems as it is not redirecting properly then. Is tg.url used? Lucas > >>> >>> >>>>> >>>>> Also, >>>>> Is there a way to make the actual widget that asks for password have a >>>>> "white or light gray" background wher you type in the user/password >>>>> instead of black/dark gray. >>>> >>>> everything is possible. Nobody answered my call for comment when this >>>> was introduced. You're the first one! Thanks for trying it and >>>> commenting. >>> >>> >>> No problem, I just got a chance to install it. For those that didn't >>> see it yet, here is how it looks: >>> http://lucasmanual.com/mywiki/TurboGears2?action=AttachFile&do=get&target=tg2welcome2.png >>> >> >> Also, >> I wasn't able to get flash working. Could you add it to the tempalate >> somewehere... >> > It is there already, see master.html maybe your trunk is outdated, > because Florent readded this a couple of days ago. > I'll check again. >> Thanks, >> >> > >> > > > > -- How to create python package? http://lucasmanual.com/mywiki/PythonPaste Bazaar and Launchpad http://lucasmanual.com/mywiki/Bazaar --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
