Taxonomies in orchard CMS - orchardcms

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.

Related

BreadCrumb doesn't show the correct url of taxonomies

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)

Adding blog to specific page using Orchard CMS

I need to add existing blog to page. How I can do that?
I have page with layout and I need to add blog with pagination for it.
You can create a query with for content type blog posts as a filter and then you can add a projection widget based on this query to your page layout.

Kentico breakcrumb webpart not using the page alias

I have two pages sitting in a folder named "Auxiliary Nav". The pages have aliases set so 'Auxuliary-Nav' doesn't show in their URLs. I thought all was good until I looked at my breadcrumbs. Ideally, the breadcrumb shouldn't show "Auxiliary Nav".
I'm using the Breadcrumbs web part on a master page, but can't see a setting for this. I had also thought about just using the CSS list menu, but not sure if this would help me here.
Turn off "Show in navigation" for "Auxiliary Nav".

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

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