Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Breadcrumbs in CherryPY 3.x
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Voltron  
View profile  
 More options Jun 21, 4:50 pm
From: Voltron <nhy...@googlemail.com>
Date: Sun, 21 Jun 2009 13:50:26 -0700 (PDT)
Local: Sun, Jun 21 2009 4:50 pm
Subject: Breadcrumbs in CherryPY 3.x
Is there a way to implement a breadcrumb generator in CherryPy 3? I
read somewhere that in version 2.x one could use a function in the
_cputils lib for this before, but this function is not present anymore
in the latest versions of CherryPY.

Thanks


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Lakin Wecker  
View profile  
 More options Jun 21, 6:08 pm
From: Lakin Wecker <lakin.wec...@gmail.com>
Date: Sun, 21 Jun 2009 16:08:32 -0600
Local: Sun, Jun 21 2009 6:08 pm
Subject: Re: [cherrypy-users] Breadcrumbs in CherryPY 3.x
That depends on the type of breadcrumbs you are looking for.  If
you're looking for the type that shows the user where they were last,
then you're better off just letting the browser do it's job with the
back button.

If you're looking for the concept of a container of the current path,
and all of it's parent containers, then your path should hopefully be
all you need for the bread crumbs, for instance, on
/blogs/a-better-kind-of-angry  hopefully the breadcrumbs are / (home)

> /blogs (blogs) > /blogs/a-better-kind-of-angry (A better kind of

angry).

In that case, just use request.path_info.split("/").

If that's not what you're looking for, then you'll have to do a better
job of explaining what you are looking fore before we can answer your
question.

Lakin


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google