BreadCrumb doesn't show the correct url of taxonomies - orchardcms

In orchard CMS I have a taxonomies menu.I have added a alias breadcrumb menu.When I chose a taxonomy menu,the alias is correct.(Home->product->adidas->shoes)
but when I click one of shoes post,the url is changed to(Home->shoes1).
How can I fixed it to (Home->product->adidas->shoes->shoes1)?

I think u need to edit the content type of shoe and modify the Autoroute content part setting and give it a new default pattern url that matches your sample (Home->product->adidas->shoes)

Related

How to add Autoroute for taxonomy in orchard cms?

I want to add a path like (product->adidas->shoes->shoe1) in autoroute in blogpost in Orchard CMS.How can I create this path?
I use this path
{Content.Fields.BlogPost.Category.TermPathSlug}/{Content.Slug}
it shows only products/adidas and not show the full path.How can Generate the full path?
{Content.Fields.BlogPost.Category.TermPathSlug}/{Content.Slug}
I use this path and now it's correct.But it shows product->adidas->shoes->shoe1.
Don't show the title of article.How can I show the title?
product->adidas->shoes->shoe1->The shoe name

Taxonomies in orchard CMS

I use Orchard CMS. I have added a taxonomies menu and a Alias Breadcrumb Link that shows sitemap of site.When I choose a blog post from taxonomies menu(Pet->Rabbit) the breadcrumb shows only this url(home->Rabbit).How can I solve this problem?
As the description of "Alias Breadcrumb Link" says it uses the alias, to create the breadcrumb links. So if your blogpost is under the [sitename]/blogpostname url, the alias breadcrumb link will create the Home/blogpostname pattern.
In order to show the right pattern you want, you need to set up the url (Permalink) of your content item (blogpost) to "Pet/Rabbit", so this way the alias breadcrumb link will create the Home/Pet/Rabbit pattern for you.
In addition you need to put down as many "Alias Breadcrumb Link" to your breadcrumb menu as deeply you want to show the hierarchy.

How to change orchard blog home page list view/summary view

I have Orchard 1.7 setup with blog recipe.
The home screen display a list of blog posts.
I want to override the way the content is displayed in summary view. I could do this for each parts. But my styling is such that I need to wrap title, body, and meta tags with a special div when ever the display type is summary.
The problem is:
After shape tracing I understood that the template used in the home page (summary) is same as the detailed one.
Content.cshtml
For detail view I want to use the default core-> Views/Content.cshtml but for summary I need to supply my own. How can I do this?
OR
How to write a driver/widget to the home page. I know how I can do this for parts/fields/modules but I don't have an idea on how to create a driver for Blog home page.
Whenever I add a widget to the homepage the default blog post list still get displayed.
Just create a file called Content.Summary.cshtml in your theme. This will target all summary views, so if you have more than just blog posts on your site you will probably want to have Content-BlogPost.Summary.cshtml.
I wrote a small blog post on Item templates in Orchard if you are interested... http://arkleseizure.net/what-the-hell-is-an-item-template

Removing the url field from orchard comments

Looking to remove the Url field on a blog in orchard.comments modal. The problem is that the URL get linked to the username and i do not want my site linking to explicit sites or other content. I have tried display:none on the css but it would not take a genius just to display:block it.
Thanks in advance.
Edit the content type and disable Allow custom patterns in the autoroute section.
Of you just dont want to display the field, download Designer Tools and use Shape Tracing to generate the view and then customize it as you need.

Orchard breadcrumbs not working with Taxonomies

I'm using Orchard 1.6 and I'm trying to get my breadcrumb widget working for all pages and taxonomies.
For the pages, when a page is selected, the breadcrumbs work as expected:
Home > My Page > My Sub Page
However, as part of this menu (the main menu, as set up by the 'Default' Orchard recipe), I have added some Taxonomy terms (by adding the 'Menu' part to my taxonomy term content type).
When I view the term page (front end), the breadcrumbs don't render as breadcrumbs, but the full menu instead.
What I would like to know is: How do I make the breadcrumbs recognise the taxonomies and render correctly?
Is there a part I need to add to a specific content type?
For now I need to use the dirty, dirty work-around of using a HTML widget; naturally I would prefer an actual solution.
Thanks in advance!

Resources