[Zope] using flash as logo in plone? (Solution)

Tino Wildenhain tino at wildenhain.de
Sun Nov 7 18:30:38 EST 2004


Hi,

Am So, den 07.11.2004 schrieb John Menke um 22:16:
> Solution:
> 
> 1. Create Folder and upload .swf into that folder
> 
> ie sample path = /myfolder/logo
> 
> where logo is the name of file object and myfolder is the name of the folder
> 
> 2. edit the global_logo template and for the url portions of the Flash tag
> use this:
> 
> <h1 ...
> <object ...
> <param name="movie" tal:attributes="VALUE
> context/myfolder/logo/absolute_url"/>
> ...
> </object>
> </h1>
> 
> the absolute_url property is what finally did it :)

Well, thats a bit overdone.

<param name="movie" value="/path/to/myfolder/logo" />

would work as well (path is without the hostname
what you see in the ZMI)
This way you dont need to call the function in every
page you show.

Regards
Tino



More information about the Zope mailing list