[Zope] Macromedia Fireworks

Norman Khine khine@btinternet.com
Sun, 24 Jun 2001 14:22:26 +0100


Thanks, for the advice, but this did not work -- well it displayed the
button, but did not display the picture/s which are also within the
HomeButtonFolder.

It seems it is looking for the picture files in the MainFolder, when it
should be referencing against the

--ButtonFolder
              --HomeButtonFolder

I suppose a hack would be to change the paths of all the images within the
home_dtml file so that they all point to the actual directory! OR ? is there
a better solution.

Regards

Norman

-----Original Message-----
From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Steve
Spicklemire
Sent: 24 June 2001 13:42
To: Norman Khine
Cc: Zope
Subject: Re: [Zope] Macromedia Fireworks



Hi Norman,

	You might try:

<dtml-with "ButtonFolder.HomeButtonFolder">
<dtml-var home_dtml>
</dtml-with>

-steve

Norman Khine wrote:
>
> Hello,
> I have created several buttons using macromedia fireworks, and have
exported
> it correctly to zope. My problem is that, if I have the following setup:
>
> --Main_Folder
>         --index_html
>         --ButtonFolder
>                 --HomeButtonFolder (containing all the items for the home
page button)
>                         home_dtml
>                         home.png
>                         home.gif
>                         hoem2.gif
>                         ....
>                 --SerachButtonFolder (ditto but for search button)
>                         etc
>                         etc
>
> Now in the Properties Tab from the Main_Folder I have assigned a simple
> values to the home_button object and search_button object, so that:
>
>    Name                 Value
Type
>   title
string
>   home_button           /HomeButtonFolder/home_dtml
string
>   search_button   /SearchButtonFolder/search_dtml
string
>
> everytime I try to call this object I only get the link displayed without
> the actual button showing.
>
> I call it from the Main_Folder, by creating a dtml method for example,
> navigation_bar:
>
> <dtml-var home_button>
>
> result
>
> /HomeButtonFolder/home_dtml
>
> How do I get to execute the home_dtml from the Main_Folder?
>
> Thanks
>
> Norman
>
> zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
> zz/********/z/****\zzz|****\*\zz|*******|z
> z/^^^^^^^^/z/******\zz|*^^^^|*|z|*|^^^^^|z norman khine
> zzzzzz/**/z|**/^^\**|z|*|zzz|*|z|*|zzzzzzz mailto:norman@khine.net
> zzzzz/**/zz|*|zzzz|*|z|****/*/zz|*****|zzz purley
> z/******/zz|*|zzzz|*|z|*|^^zzzzz|*|^^^|zzz UK
> zzZ/**/zzzz|**\^^/**|z|*|zzzzzzz|*|zzzzzzz
> zz/******/zz\******/zz|*|zzzzzzz|*|*****|z
> z/^^^^^^/zzzz\^^^^/zzz|^|zzzzzzz|^^^^^^^|z
> zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )

_______________________________________________
Zope maillist  -  Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )