Welcome to Squishdot Squishdot How-To Newbies Websites
 about
 search
 post article
 Documentation
 Mailing Lists
 Bug Tracking
 Development
 Installation
 Upgrading
 Download
 admin
 rdf

 main


Image URL problems
Squishdot Posted by John Goerzen on Wednesday September 15, 07:44PM, 1999
from the modem-busters dept.
Got a strange problem with Squishdot, and it's on squishdot.org as well. Each page displays Images/sitetitle.gif. However, articles display articlenumber/Images/sitetitle.gif -- for instance, http://squishdot.org/937242019/Images/sitetitle.gif. Zope finds the gif due to acquisition, but this completely defeats caching and makes pages slow to load. How do I fix this?

<  |  >

 

Related Links
  • Articles on Squishdot
  • Also by John Goerzen
  • Contact author
  • The Fine Print: The following comments are owned by whoever posted them.
    ( Reply )

    Re: Image URL problems
    by Butch Landingin on Wednesday September 15, 08:24PM, 1999
    I'll be looking at this one too.


    Update: I've been able to fix that problem with just some DTML changes for this site.
    It'll be included in the next maintenance release.


    --Butch



    [ Reply to this ]
    • Re: Image URL problems
      by John Goerzen on Thursday September 16, 05:17AM, 1999
      Just curious, as I'm still learning DTML, how did you fix it?


      [ Reply to this ]
      • Re: Image URL problems
        by Butch Landingin on Thursday September 16, 10:35AM, 1999
        Actually there were two problems, both of which I fixed in the site_header DTML method :


        • The title_image variable -- to which I prepended a <dtml-var site_url--> so that it would add the actual site's url; and,
        • The advertising method -- to which I changed the call to advertising by making it into something like this :

          <dtml-var "misc_methods.advertising(_.None,

          _.None,REQUEST, site_url = site_url)" >



        Or you could just wait until tomorrow when I send out the maintenance release....


        Butch Landingin (squishdot@yahoo.com) -- Squishdot Maintainer







        [ Reply to this ]
        • Maintenence release
          by Lalo Martins on Monday September 27, 03:37PM, 1999
          Where is it? 11 days and still waiting :-) Couldn't we get a CVS repository?


          [ Reply to this ]

     
    The Fine Print: The following comments are owned by whoever posted them.
    ( Reply )

    Powered by Zope  Squishdot Powered
      "Any system that depends on reliability is unreliable." -- Nogg's Postulate
    All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest ©1999 Butch Landingin, ©2000-2002 Chris Withers.