Re: [Zope] RE: [Zope-dev] Background
Thanks a lot !!!! Worked perfectly !!
Just as a side reference, you might want to use: <BODY BACKGROUND="<!--#var "dc_logo.absolute_url()"-->"> This will get you the absolute url, and then caching will actuallly work, otherwise you'll get the acquired URL. Chris
<BODY BACKGROUND="<!--@var FILEOBJECT-->">
This line is correct ? It not work !!
No.. :^)
Coupla things... as someone seems to already have pointed out the var tag has the following syntax:
<!--#var dc_logo-->
which for file objects renders to (example):
<img src="http://localhost/Zope/dc_logo" alt="dc_logo">
whiiich, when substituted makes something invalid:
<body background="<img src="http://localhost/Zope/dc_logo" alt="Digital Creations Logo">">
Instead try:
<body backround="dc_logo">
--Rob
______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com
_______________________________________________ Zope maillist - Zope@zope.org http://www.zope.org/mailman/listinfo/zope
(To receive general Zope announcements, see: http://www.zope.org/mailman/listinfo/zope-announce
For developer-specific issues, zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
-- | Christopher Petrilli Python Powered Digital Creations, Inc. | petrilli@digicool.com http://www.digicool.com
participants (1)
-
Christopher Petrilli