Core BreadCrumb with CustomPage

Core BreadCrumb with CustomPage

This question is not answered

Hello,

I created CustomPage, but Core BreadCrumb widget can not show it. By debuging velocity script in BreadCrumbs.xml widget I find out that 

$core_v2_customPage.Current

is not set. By dump'ing it ($core_v2_utility.Describe() ) I'm geting "Cannot dump an undefined object.", so in 

#elseif ($page == "Custom")
		<span class="separator">$core_v2_language.GetResource("BreadCrumb_Seperator")</span>
		<span class="breadcrumb-item"><a href="$core_v2_encoding.HtmlAttributeEncode($core_v2_urls.Custom($core_v2_customPage.Current.Name))"><span></span>$core_v2_widget.ApplyTokens($core_v2_customPage.Current.Title)</a></span>

it can not be printed. 

Thanks for any advice. 

All Replies
  • When you say a custom page, did you create your own ASPX page, or are you using a content page created through the Control Panel?

  • Content Page through Control Panel

    Dashboard » Administration » Site Administration » Content Pages

  • Hello,

    What version number are you using?

    Thanks,

    Matt

  • Hello, it is 6.1

  • Hi Robertas.  Do you know the complete platform version?  i've tried recreating this so far with no luck.  

    $core_v2_utility.Describe($core_v2_customPage.Current)

  • Hi, Michael, it's "Telligent Community 6.1.1.25421"

  • Thanks kesutis.  Unfortunately, I still haven't been able to recreate this so far.  Would it be possible for you to attach your widget?  Have you tried it against other custom pages?  Thank you.

  • Widgets.txt

    Michael, 

    I attached Widget.txt (I was not able to attach xml file, so I just renamed the extention to txt). It's default Core Breadcrumb widget that comes with Telligent.

  • One more thing - If i put content page under groups `Dashboard » My Groups » Group1 » Content Pages` in Group Bread crumb I see this:

    `Home > Group1 > $core_v2_widget.ApplyTokens($core_v2_customPage.Current.Title)`

  • Thank you for providing the widget to assist our team in helping you. I have reached out to our team internally to follow-up with you.

  • Hi,

    Unfortunately, I'm still not able to recreate this, but I do have some more questions:

    1. Can you please attach an export of the page via the page editing UI

    2. Can you review the exception logs during an attempt to render the page to see if any exceptions are logged

    3. Is this in an environment that was upgraded from an earlier version?

    4. What theme is the page using?

    Thank you

  • I have noticed, that this problem appears when breadcrumb is placed inside of page header (Edit Page -> Edit Header).