Hi there, I finally got a simple product working (mostly by hacking away at TinyTable while referencing Amos' tutorial to figure out what I'm doing :). It all seems to work, but for the silly icon! First the icon didn't load, but this was due to me forgetting to import ImageFile in the product's __init__ file. My goof. I put in the MailHost's icon as a test icon, but then I drew my own icon. I put it in the right place. I restarted Zope. Still the MailHost icon. I've done just about everything I've come up with, including breaking the product, to make it use my new icon. But whatever I do, it keeps coming up with that MailHost icon! What am I doing wrong? Is this icon somewhere deep in the Zope database and not coming out? Help would be appreciated. Regards, Martijn
Martijn Faassen wrote:
I've done just about everything I've come up with, including breaking the product, to make it use my new icon. But whatever I do, it keeps coming up with that MailHost icon!
What am I doing wrong? Is this icon somewhere deep in the Zope database and not coming out? Help would be appreciated.
Try deleting the product and restarting Zope. -- Itamar - itamars@ibm.net -----------------------------o-------------------------------------o Sealingwax Greeting Cards | The only good morning is a dead one | http://www.sealingwax.com/ | --Richard Stallman |
"Itamar S.-T." wrote:
Martijn Faassen wrote:
I've done just about everything I've come up with, including breaking the product, to make it use my new icon. But whatever I do, it keeps coming up with that MailHost icon!
What am I doing wrong? Is this icon somewhere deep in the Zope database and not coming out? Help would be appreciated.
Try deleting the product and restarting Zope.
From the Control Panel? I did this in every way possible.. Though of course I must be missing something.
Regards, Martijn
In article <374C2056.5C4BD9D9@pop.vet.uu.nl>, Martijn Faassen <M.Faassen@vet.uu.nl> wrote:
I've done just about everything I've come up with, including breaking the product, to make it use my new icon. But whatever I do, it keeps coming up with that MailHost icon!
What am I doing wrong? Is this icon somewhere deep in the Zope database and not coming out? Help would be appreciated.
Many browsers completely ignore caching rules on images and seem to keep them forever. one thing you can try (netscape instructions here, adjust as necessary for your browser) is to right-click on the icon, select "View Image" to pop it up in a window of its own, and the shift-Reload in that window. If all else fails, close all but one browser window, go to a page that doesn't use that icon, and flush disk & ram caches.
Ty Sarna wrote:
In article <374C2056.5C4BD9D9@pop.vet.uu.nl>, Martijn Faassen <M.Faassen@vet.uu.nl> wrote:
I've done just about everything I've come up with, including breaking the product, to make it use my new icon. But whatever I do, it keeps coming up with that MailHost icon!
What am I doing wrong? Is this icon somewhere deep in the Zope database and not coming out? Help would be appreciated.
Many browsers completely ignore caching rules on images and seem to keep them forever. one thing you can try (netscape instructions here, adjust as necessary for your browser) is to right-click on the icon, select "View Image" to pop it up in a window of its own, and the shift-Reload in that window. If all else fails, close all but one browser window, go to a page that doesn't use that icon, and flush disk & ram caches.
I'm not entirely sure what I did (nothing I think), but it works now! Must've been the silly browser all alone (it's Netscape). I did try flushing the cashes but that didn't work before. Thanks for your help! Martijn
On 26 May 1999 17:05:38 GMT, Ty Sarna wrote:
In article <374C2056.5C4BD9D9@pop.vet.uu.nl>, Martijn Faassen <M.Faassen@vet.uu.nl> wrote:
I've done just about everything I've come up with, including breaking the product, to make it use my new icon. But whatever I do, it keeps coming up with that MailHost icon!
What am I doing wrong? Is this icon somewhere deep in the Zope database and not coming out? Help would be appreciated.
Many browsers completely ignore caching rules on images and seem to keep them forever. one thing you can try (netscape instructions here, adjust
When I wrote the TransGuide map application, I wrote a wrapper around the map images to include four standard caching hints. I could not find a single browser which paid any attention whatsoever to any of the instructions. The only reasonably reliable thing I could find to do to get them to update the map images was to update the cache control info in the main document, thus triggering the document reload and an accompanying image reload most of the time. Since I was updating the maps, I found that changing the image filename with the new document further enhanced the chances of reloading the image. :^) So yes, sometimes (especially with Netscape) it appears you need to just flush the caches to get it to reload an image. Kent
participants (4)
-
Itamar S.-T. -
kent@tiamat.goathill.org -
Martijn Faassen -
tsarna@endicor.com