<![CDATA[ Support/Comments for Breadcrumb - My Forums]]> https://forums.modx.com/thread/?thread=71902 <![CDATA[Re: Support/Comments for Breadcrumb]]> https://forums.modx.com/thread/71902/support-comments-for-breadcrumb?page=7#dis-post-564226 ThaClown Feb 25, 2019, 09:35 AM https://forums.modx.com/thread/71902/support-comments-for-breadcrumb?page=7#dis-post-564226 <![CDATA[Re: Support/Comments for Breadcrumb]]> https://forums.modx.com/thread/71902/support-comments-for-breadcrumb?page=7#dis-post-536089 http://docs.modx.pro/en/components/pdotools/snippets/pdocrumbs]]> sottwell Dec 18, 2015, 01:32 AM https://forums.modx.com/thread/71902/support-comments-for-breadcrumb?page=7#dis-post-536089 <![CDATA[Re: Support/Comments for Breadcrumb]]> https://forums.modx.com/thread/71902/support-comments-for-breadcrumb?page=7#dis-post-536084 Quote from: wbbuilder at Dec 18, 2015, 04:57 AM
If I want to exclude a few pages, I suppose I can add additional comments like this?
[[*id:neq=`1`:then=`*id:neq=`2`:then=`*id:neq=`3`:then=`[[BreadCrumb]]`]]
You'd get some problems with the nested backticks (some of which are missing in your example code), I guess. But you can use "or" and "and" in your output modifiers, see https://rtfm.modx.com/revolution/2.x/making-sites-with-modx/customizing-content/input-and-output-filters-%28output-modifiers%29. So a better alternative would be this:

[[*id:neq=`1`:and:neq=`2`:and:neq=`3`:then=`[[BreadCrumb]]`]]


Cheers,
Jan]]>
enigmatic_user Dec 17, 2015, 11:58 PM https://forums.modx.com/thread/71902/support-comments-for-breadcrumb?page=7#dis-post-536084
<![CDATA[Re: Support/Comments for Breadcrumb]]> https://forums.modx.com/thread/71902/support-comments-for-breadcrumb?page=7#dis-post-536083 Quote from: designcouch at Dec 18, 2015, 04:16 AM
Simply use the "exclude" parameter. Like this:

[[*id:neq=`1`:then=`[[BreadCrumb]]`]]

That is what I was looking for exclude entire breadcrumb on a specific page. If I want to exclude a few pages, I suppose I can add additional comments like this?
[[*id:neq=`1`:then=`*id:neq=`2`:then=`*id:neq=`3`:then=`[[BreadCrumb]]`]]
]]>
wbbuilder Dec 17, 2015, 10:57 PM https://forums.modx.com/thread/71902/support-comments-for-breadcrumb?page=7#dis-post-536083
<![CDATA[Re: Support/Comments for Breadcrumb]]> https://forums.modx.com/thread/71902/support-comments-for-breadcrumb?page=7#dis-post-536082
[[!BreadCrumb? &exclude=`1`]]


Where 1 = the id of your resource. You can include multiple resources in this way, separated by commas.

If you're looking to hide the entire breadcrumb structure and not the just the individual page, simply use a conditional along with the id placeholder, like this:

[[*id:neq=`1`:then=`[[BreadCrumb]]`]]
]]>
designcouch Dec 17, 2015, 10:16 PM https://forums.modx.com/thread/71902/support-comments-for-breadcrumb?page=7#dis-post-536082
<![CDATA[Re: Support/Comments for Breadcrumb]]> https://forums.modx.com/thread/71902/support-comments-for-breadcrumb?page=7#dis-post-536080 wbbuilder Dec 17, 2015, 09:57 PM https://forums.modx.com/thread/71902/support-comments-for-breadcrumb?page=7#dis-post-536080 <![CDATA[Re: Support/Comments for Breadcrumb]]> https://forums.modx.com/thread/71902/support-comments-for-breadcrumb?page=7#dis-post-533613 How to change pagetitle to menutitle in homecrumb?]]> ashoksaini Oct 24, 2015, 03:20 PM https://forums.modx.com/thread/71902/support-comments-for-breadcrumb?page=7#dis-post-533613 <![CDATA[Re: Support/Comments for Breadcrumb]]> https://forums.modx.com/thread/71902/support-comments-for-breadcrumb?page=7#dis-post-516640
I just downloaded Breadcrumb and it just stopped my site from working.

I'm currently running on a dev environment, but thought I'd let you see my logs. I don't believe I'm doing anything out of the ordinary.

It's relating to:
  && (($resource->get('hidemenu') && $showHidden) || !$resource->get('hidemenu'))                                         // ShowHidden
   


From the MAMP php error log.

[12-Dec-2014 02:59:33 Europe/Berlin] PHP Fatal error:  Call to a member function get() on null in /Volumes/Creative2HD/Projects/Mobile_Voting_Site/www_root/core/cache/includes/elements/modsnippet/78.include.cache.php on line 96



That was from running it from a static template.

I'll see if I can decipher it, but thought I'd let you know.

[[BreadCrumb? &crumbSeparator=`>` &showHomeCrumb=`1`]]


Cheers,
Steve]]>
vrdriver Dec 11, 2014, 08:07 PM https://forums.modx.com/thread/71902/support-comments-for-breadcrumb?page=7#dis-post-516640
<![CDATA[Re: Support/Comments for Breadcrumb]]> https://forums.modx.com/thread/71902/support-comments-for-breadcrumb?page=7#dis-post-505730

Cheers,
Jan]]>
enigmatic_user Aug 07, 2014, 12:38 AM https://forums.modx.com/thread/71902/support-comments-for-breadcrumb?page=7#dis-post-505730
<![CDATA[Re: Support/Comments for Breadcrumb]]> https://forums.modx.com/thread/71902/support-comments-for-breadcrumb?page=6#dis-post-505724
You're right, there was a bug with the current resource detection.
It's fixed in BreadCrumb 1.4.1-pl.

Thank's for the report.]]>
ben_omycode Aug 07, 2014, 12:19 AM https://forums.modx.com/thread/71902/support-comments-for-breadcrumb?page=6#dis-post-505724