KiF
Active member
libraryXenResourceModelCategory.php
I add 'value_desc' fields. I get php error with
'value_desc' => $breadcrumb['category_description'] after 'value' => $breadcrumb['category_title'],
but with
'value_desc' => $category['category_description'] after 'value' => $category['category_title'],
it's ok.
Help, please. What else should I change?
I add 'value_desc' fields. I get php error with
'value_desc' => $breadcrumb['category_description'] after 'value' => $breadcrumb['category_title'],
but with
'value_desc' => $category['category_description'] after 'value' => $category['category_title'],
it's ok.
Help, please. What else should I change?
PHP:
foreach ($category['categoryBreadcrumb'] AS $catId => $breadcrumb)
{
$breadcrumbs[$catId] = array(
'href' => XenForo_Link::buildPublicLink('full:resources/categories', $breadcrumb),
'value' => $breadcrumb['category_title'],
'value_desc' => $breadcrumb['category_description']
);
}
if ($includeSelf)
{
$breadcrumbs[$category['resource_category_id']] = array(
'href' => XenForo_Link::buildPublicLink('full:resources/categories', $category),
'value' => $category['category_title'],
'value_desc' => $category['category_description']
);
}