Macromedia Fireworks
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
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 )
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 )
Hi Norman, Well.. since Fireworks doesn't know about Zope, or the fact that you're including the HTML it generates in a document located in a different Folder it's not really shocking that it didn't work. You may need to either edit home_dtml to refer to the images using a better URL (e.g., rather than <img src="home.gif".. > you probably need <img src="ButtonFolder/HomeButtonFolder/home.gif".. >. If you want truly detailed informed help from the list, you'll probably need to post a more complete example. I'm also guessing that your home_dtml has lots of Javascript (since Fireworks seems to like to throw Javascript in) and that means even more care. Another think you might look at is the option 'put images in subfolder' in Fireworks. It should allow you to create a filesystem clone of your Zope setup (at least it looks like this feature is in Fireworks 4, dunno about earlier.. ). -steve Norman Khine wrote:
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 )
participants (4)
-
Norman Khine -
Norman Khine -
steve -
Steve Spicklemire