please submit this as an bug report.

On 12/20/06, Neil Ludban <[EMAIL PROTECTED]> wrote:

On Wed, 20 Dec 2006 13:57:55 +0000
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> server.webpath="/mypath" is supposed to be the one I need(adding to the
> front of all generated url) but it still failed, even for the simple
> turbogear logo at the bottom of a quick start project(still said
> http://mydomain.com/static instead of http://mydomain.com/mypath/static
> which is what I want). Need to trace a bit.

That's the code fixes I mentioned.  Try this:

Index: templates/master.kid
===================================================================
--- templates/master.kid        (revision 57)
+++ templates/master.kid        (revision 58)
@@ -15,7 +15,7 @@
         }
     </style>
     <style type="text/css" media="screen">
[EMAIL PROTECTED] "/static/css/style.css";
[EMAIL PROTECTED] "${tg.url('/static/css/style.css')}";
 </style>
 </head>

@@ -23,11 +23,11 @@
     <div py:if="tg.config('identity.on',False) and not 'logging_in' in 
locals()"
         id="pageLogin">
         <span py:if="tg.identity.anonymous">
-            <a href="/login">Login</a>
+            <a href="${tg.url('/login')}">Login</a>
         </span>
         <span py:if="not tg.identity.anonymous">
             Welcome ${tg.identity.user.display_name}.
-            <a href="/logout">Logout</a>
+            <a href="${tg.url('/logout')}">Logout</a>
         </span>
     </div>

@@ -36,7 +36,7 @@
     <div py:replace="[item.text]+item[:]"/>

        <!-- End of main_content -->
-<div id="footer"> <img src="/static/images/under_the_hood_blue.png" />
+<div id="footer"> <img src="${tg.url('/static/images/under_the_hood_blue.png')}" 
/>
   <p>TurboGears is a open source front-to-back web development
     framework written in Python</p>
   <p>Copyright &copy; 2006 Kevin Dangoor</p>

>



--
cheers
   elvelind grandin

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to