[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kupu-checkins
Subject:    [kupu-checkins] r5705 - in kupu/branch/plone-linkbyuid/plone: .
From:       duncan () codespeak ! net
Date:       2004-07-27 10:47:28
Message-ID: 20040727104728.C55765A955 () thoth ! codespeak ! net
[Download RAW message or body]

Author: duncan
Date: Tue Jul 27 12:47:28 2004
New Revision: 5705

Modified:
   kupu/branch/plone-linkbyuid/plone/body.kupu
   kupu/branch/plone-linkbyuid/plone/kupu_plone_layer/emptypage.pt
Log:
Reference to emptypage needs to be absolute

Modified: kupu/branch/plone-linkbyuid/plone/body.kupu
==============================================================================
--- kupu/branch/plone-linkbyuid/plone/body.kupu	(original)
+++ kupu/branch/plone-linkbyuid/plone/body.kupu	Tue Jul 27 12:47:28 2004
@@ -13,6 +13,10 @@
         frameborder="0"
         src="emptypage"
         onfocus="this.contentWindow.focus();"
+        tal:define="base here/absolute_url;
+            posfactory python:base.find('/portal_factory/');
+            base python:posfactory > 0 and base[:posfactory+1] or base;"
+        tal:attributes="src string:${base}/emptypage"
         >
     </iframe>
     <textarea cols="80" rows="25"

Modified: kupu/branch/plone-linkbyuid/plone/kupu_plone_layer/emptypage.pt
==============================================================================
--- kupu/branch/plone-linkbyuid/plone/kupu_plone_layer/emptypage.pt	(original)
+++ kupu/branch/plone-linkbyuid/plone/kupu_plone_layer/emptypage.pt	Tue Jul 27 \
12:47:28 2004 @@ -4,7 +4,7 @@
     <link rel="stylesheet" type="text/css" href="#" tal:attributes="href \
                string:${here/portal_url}/kupuplone.css" />
     <link rel="stylesheet" type="text/css" href="#" tal:attributes="href \
                string:${here/portal_url}/plone.css" />
     <link rel="stylesheet" type="text/css" href="#" tal:attributes="href \
                string:${here/portal_url}/ploneCustom.css" />
-    <base href="emptypage" href="#" tal:attributes="href \
string:${here/absolute_url}/" /> +    <base href="emptypage" tal:attributes="href \
string:${here/absolute_url}/" />  </head>
   <body class="kupu">
    


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic