Actually, if people can agree a config syntax then I think I can easily write a patch for it myself.
Ed On 3/6/07, Ed Singleton <[EMAIL PROTECTED]> wrote: > Did anyone ever create a solution to this? I've reopened the ticket > because this same problem is really bugging me but this is all I can > find on the issue. > > How does everyone else handle creating full urls in TG? > > Ed > > On 4/13/06, Kevin Dangoor <[EMAIL PROTECTED]> wrote: > > > > On 4/13/06, Tim Lesher <[EMAIL PROTECTED]> wrote: > > > In addition to the original use case of bookmarklets, this comes up > > > when delivering pages via email. My app sends the contents of a > > > TG-generated page as an email notification. It works fine, but the > > > page's stylesheet reference and links in the output of widgets on the > > > page are relative, so the email is unstyled, and if a user clicks on > > > them in the email, they end up hitting their own machine. > > > > I can see that, and yes we can reopen the ticket. How about these > > parameters: > > > > tg.url_server = "www.yourdomain.com" > > tg.url_port = 8080 > > > > (The defaults would be None) > > > > That would handle the case of proxying behind a server as well. > > > > Kevin > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

