Welcome to Squishdot Squishdot How-To Newbies Websites
 post article
 Mailing Lists
 Bug Tracking


Squishdot as a folder
Squishdot Posted by Fabio Augusto Mazzarino on Thursday March 16, 08:55PM, 2000
from the squishdot-on-top dept.
After some weeks working on it, trying to make Squishdot part of my site, without filling the root folder with squishdot files, and without (argh) frames, I finally did it. I can call Squishdot from a parent folder.

A simple modification now allowed me to call Squishdot from anywhere outside the Squishdot folder.
For example:


  • Poll
  • Images
  • Squishdot

Some of our squishdotter friends have tried this but a problem with site_url( ) made them give up. Now here goes the solution:

In Squishdot.py line 824 (site_url( )) there is the following line:

if p.meta_type == 'Squishdot Site':

We can change this to:

if p.meta_type == 'Squishdot Site' or p.meta_type == 'Folder':

It will probably be a little slower, because it'll search for Squishdot Site inside all available folders, but it have worked until now for me (2 weeks).

Well, this allows me to make a different view for our intranet site (hooking with Vision in "Customizing Squishdot" 02/21/00.

Unfortunately our intranet doesn't allow outside access, so I'll send for you just a screen shot.

That's all folks.

<  |  >


Related Links
  • Articles on Squishdot
  • Also by Fabio Augusto Mazzarino
  • Contact author
  • 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.