-
- 18 Posts
Hi,
Does BreadCrumb snippet work with Modx Revolution 2.6.1?
-
- 23 Posts
Of course it does.
However, if you want an all-in-one package for getting resources, certain content, sitemaps, menus and whatnot, you might want to look at pdoTools, which comes with pdoCrumbs, pdoResources, pdoMenu and a few more.
-
- 120 Posts
FerX - Developer at Eracom s.r.l.
Quote from: valonkuvaaja at Feb 14, 2018, 08:41 PMHi,
Does BreadCrumb snippet work with Modx Revolution 2.6.1?
Here is what I use:
[[pdoCrumbs?
&from=``
&to=``
&direction=``
&outputSeparator=``
&limit=``
&tplWrapper=`@INLINE<ol class="breadcrumb" itemscope itemtype="
http://schema.org/BreadcrumbList">[[+crumbs]]</ol>`
&tplHome=`[[-- Use the tpl as it is the same - format is required for schema.org]]`
&tpl=`@INLINE<li itemprop="itemListElement" itemscope itemtype="
http://schema.org/ListItem"><a href="[[+link]]" itemprop="item"> <span itemprop="name">[[+menutitle]]</span></a><meta itemprop="position" content="[[+idx]]" /></li>`
&tplCurrent=`@INLINE<li class="last active disabled" itemprop="itemListElement" itemscope itemtype="
http://schema.org/ListItem"><a href="[[+link]]" itemprop="item"> <span itemprop="name">[[+menutitle]]</span></a><meta itemprop="position" content="[[+idx]]" /></li>`
&tplMax=``
&hideSingle=`1`
&showAtHome=`0`
&showHome=`1`
&showCurrent=`1`]]