To properly reference your frames by their absolute urls, instead of this: <frame name="A" src="<dtml-var top>"> <frame name="B" src="<dtml-var main>"> Try this: <frame name="A" src="<dtml-var "top.absolute_url()">"> <frame name="B" src="<dtml-var "main.absolute_url()">"> -PSJ