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

 main


Breadcrumbs for Squishdot
Squishdot Posted by Chris Withers on Thursday January 17, 11:19AM, 2002
from the fun dept.
If anyone's interested, I've got breadcrumbs going on a Squishdot site. Here's how...

Basically, add the attached python script to your Squishdot site.

Then, in posting_html, for example, add the following line to show the breadcrumbs:

<dtml-var breadcrumbs>

Let me know what you think :-)

cheers,

Chris

<  |  >

 

Related Links
  • Articles on Squishdot
  • Also by Chris Withers
  • Contact author
  • File Attachment
  • Click to download attachment breadcrumbs
    0KB (307 bytes)

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

    Re: Breadcrumbs for Squishdot
    by mojix on Sunday January 20, 05:51PM, 2002
    It's nice. Thanks, Chris!

    I found a very little bug.
    last line of 'for' scope should be:

    print '<a href="%s">%s</a> >> ' % ( url, parent.title )
    [ Reply to this ]
    • Re: Breadcrumbs for Squishdot
      by mojix on Sunday January 20, 05:59PM, 2002
      Sorry, no problem in Chris's code.
      What I used was 'rendered' one.
      [ Reply to this ]
    Re: Breadcrumbs for Squishdot
    by Derek on Thursday January 24, 05:46AM, 2002
    WTF is a "breadcrumb"? What does it do?
    [ Reply to this ]
    • Re: Breadcrumbs for Squishdot
      by Dean G on Thursday January 24, 11:49PM, 2002
      Here's the doc's for a Breadcrumbs navigation Trail:
      http://www.zope.org/Members/lstaffor/Breadcrumbs

      [ Reply to this ]
    • Re: Breadcrumbs for Squishdot
      by Chris Withers on Friday January 25, 09:05AM, 2002
      It's a naviagation aid that looks like:

      root >> Some Article >> Some Reply >> etc

      ...that lets you navigate tree structures mroe easily...

      cheers,

      Chris
      [ Reply to this ]
    Re: Breadcrumbs for Squishdot
    by Dean G on Thursday January 24, 11:54PM, 2002
    ...How can I (a user of your site) see my navigation trail at the site you posted?

    And for what it's worth,
    I didn't see the breadcrumbs addition to the site changes, either.
    [ Reply to this ]
    • Re: Breadcrumbs for Squishdot
      by Chris Withers on Friday January 25, 09:04AM, 2002
      huh?

      Chris
      [ Reply to this ]
      • Re: Breadcrumbs for Squishdot
        by Dean G on Monday January 28, 05:07AM, 2002
        The previous reply with the ">>" notation answered my question.

        When I went to your site I didn't see the navigation trail. Now I do. Thanks.

        [ Reply to this ]
    Re: Breadcrumbs for Squishdot
    by Joe on Wednesday January 30, 10:11AM, 2002
    I don't see any Hierarchy on your site. So you are never more than one level away from the homepage. As much as I love breadcrumbs, what does it do for squishdots?
    [ Reply to this ]
    • Ya don't _have_ to use them ;-)
      by Chris Withers on Wednesday January 30, 11:56AM, 2002
      I find it useful for navigating deep within replies.

      I get mailed URLs to new postings, when I click on these, the breadcrumbs let me navigate to the level in the threaded discussion that I care about.

      cheers,

      Chris
      [ 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.