Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/ Blog / Commentspost (typo/bug) #46

Closed
Nosrevelk opened this issue Dec 10, 2010 · 2 comments
Closed

/ Blog / Commentspost (typo/bug) #46

Nosrevelk opened this issue Dec 10, 2010 · 2 comments

Comments

@Nosrevelk
Copy link

I'm getting / Blog / Commentspost as my breadcrumb on the preview of a post.
url http://consumismoeinfancia.com/comments/post/
(http://consumismoeinfancia.com/2010/11/22/dia-sem-compras-pede-reflexao-sobre-o-consumo/#comments and click on Visualizar)

On the demo site is / Blog / Post
http://django-blog-zinnia.com/comments/post/

Any idea where I should look into?

Obs. I updated the zbreadcrumbs.py but nothing changed.

@Fantomas42
Copy link
Owner

Hi Nosrevelk,

normally if the breadcrumb tag is used with an URL which is not handled by the Zinnia app, it takes the last part of the url splitted by '/', and translate it.

In your case it seems buggy...
I think you should start looking at zinnia/templatetags/zbreadcrumbs.py line 96 to 99.

If you have to write a patch, please share.

Have a nice day.

@Nosrevelk
Copy link
Author

Will do, tks a bunch fanto.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants