On 20.09.2006, at 02:24, David Bear wrote:
I wanted to randomly pick a an image from an images folder and insert
it into my page. So I created a python script the return a random
selection from the images folder.
Then, in my zpt I did
Later in in the tag I wanted to to do
however I found that slot1 was not giving me the full path to the
images folder. So I went back and did this:
tal:attributes="src slot1/absolute_url"
in order to get the object to have the full url.
It just seems there should be a better way. Anyone have a suggestion?
--
David Bear
phone: 602-496-0424
fax:602-496-0955
College of Public Programs/ASU
University Center Rm 622
411 N Central
Phoenix, AZ 85007-0685
"Beware the IP portfolio, everyone will be suspect of trespassing"
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )