Sets breadcrumbs to the category overview page
768877
protected function setBreadcrumbListCategory()
    {
        $breadcrumbs = array();

        $breadcrumbs[] = array(
            'url' => $this->url('admin'),
            'text' => $this->text('Dashboard')
        );

        $breadcrumbs[] = array(
            'url' => $this->url('admin/content/category-group'),
            'text' => $this->text('Category groups')
        );

        $this->setBreadcrumbs($breadcrumbs);
    }
420746
protected function setBreadcrumbEditAccount()
    {
        $breadcrumbs = array();

        $breadcrumbs[] = array(
            'url' => $this->url('/'),
            'text' => $this->text('Shop')
        );

        $breadcrumbs[] = array(
            'text' => $this->text('Account'),
            'url' => $this->url("account/{$this->data_user['user_id']}")
        );

        $this->setBreadcrumbs($breadcrumbs);
    }
1308056
protected function setBreadcrumbEditCurrency()
    {
        $breadcrumbs = array();

        $breadcrumbs[] = array(
            'url' => $this->url('admin'),
            'text' => $this->text('Dashboard')
        );

        $breadcrumbs[] = array(
            'url' => $this->url('admin/settings/currency'),
            'text' => $this->text('Currencies')
        );

        $this->setBreadcrumbs($breadcrumbs);
    }
384418
protected function _getCategoryBreadCrumb()
    {
        $paths = [];

        $categoryTree = $this->getCatTreePath();

        if ($categoryTree) {
            foreach ($categoryTree as $category) {
                /** @var \OxidEsales\Eshop\Application\Model\Category $category */
                $categoryPath = [];

                $categoryPath['link'] = $category->getLink();
                $categoryPath['title'] = $category->oxcategories__oxtitle->value;

                $paths[] = $categoryPath;
            }
        }

        return $paths;
    }
37455
protected function setDataNavbarIndexCategory()
    {
        $data = array(
            'total' => $this->data_total,
            'view' => $this->query_filter['view'],
            'quantity' => count($this->data_products),
            'sort' => "{$this->query_filter['sort']}-{$this->query_filter['order']}"
        );

        $this->setData('navbar', $this->render('category/navbar', $data));
    }
573995
public function listPage()
    {
        $this->actionPage();
        $this->setTitleListPage();
        $this->setBreadcrumbListPage();
        $this->setFilterListPage();
        $this->setPagerListPage();

        $this->setData('pages', $this->getListPage());
        $this->outputListPage();
    }
207346
def index
      add_breadcrumb t('integral.breadcrumbs.tags'), nil
      @tags = Integral::Post.all_tag_counts(order: 'count desc').paginate(page: params[:page])
    end
342406
function updateBreadcrumb() {
        breadcrumbs.html("");
        var buffer = [];
        for (var i = 0; i < path.length; i++) {
            var node = path[i];
            if (node.type == FOLDER_TYPE) {
                var divider = "<span class='divider'>/</span>"
                if (i == path.length - 1) { //chk for last item
                    divider = "";
                }
                buffer.push("<li><a href='javascript:;' id='" + node.resourceId + "'>" + node.name + " </a> " + divider + "</li>");
            } else {
                buffer.push("<span  id='" + node.resourceId + "'>" + node.name + " </span>");
                // breadcrumbs.append("<li><span  id='"+ node.resourceId+"'>" + node.name + " </span></li>");
            }
        }

        breadcrumbs.append(buffer.join(""));

        breadcrumbs.find('a').click(function (e) {
            var id = e.currentTarget.id;
            try {
                id = parseInt(id);
            }
            catch (e) {
            }
            renderItemsByFolderId(id);
            while (true) {
                var cur = getCurrentItem();
                if (id == cur.resourceId) {
                    break;
                }
                path.pop();
            }
            updateBreadcrumb();
        });

        //handle disabling of Up node in tree when folderId is zero
        if (folderId === 0) {
            var upNode = resourceTree.find('ul li:first-child');
            if (path.length > 1) {
                upNode.removeClass('disabled');
                upNode.find('i').addClass('icon-arrow-up');
            }
            else {
                upNode.addClass('disabled');
                upNode.find('i').addClass('icon-home');
            }
        }
    }
672059
protected function setBreadcrumbThemeEditor()
    {
        $breadcrumbs = array();

        $breadcrumbs[] = array(
            'url' => $this->url('admin'),
            'text' => $this->text('Dashboard')
        );

        $breadcrumbs[] = array(
            'url' => $this->url('admin/module/list'),
            'text' => $this->text('Modules')
        );

        $this->setBreadcrumbs($breadcrumbs);
    }
1170179
protected function setBreadcrumbEditCountry()
    {
        $breadcrumbs = array();

        $breadcrumbs[] = array(
            'url' => $this->url('admin'),
            'text' => $this->text('Dashboard')
        );

        $breadcrumbs[] = array(
            'url' => $this->url('admin/settings/country'),
            'text' => $this->text('Countries')
        );

        $this->setBreadcrumbs($breadcrumbs);
    }
833107
def categories
      # add breadcrumb and set title
      add_breadcrumb I18n.t("generic.categories"), :admin_article_categories_path, :title => I18n.t("controllers.admin.terms.categories.breadcrumb_title")
      set_title(I18n.t("generic.categories"))
      @type = 'category'
      @records = Term.term_cats('category', nil, true)

      # render view template as it is the same as the tag view
      render 'view'
    end
475792
protected function setBreadcrumbEditZone()
    {
        $breadcrumbs = array();

        $breadcrumbs[] = array(
            'url' => $this->url('admin'),
            'text' => $this->text('Dashboard')
        );

        $breadcrumbs[] = array(
            'text' => $this->text('Zones'),
            'url' => $this->url('admin/settings/zone')
        );

        $this->setBreadcrumbs($breadcrumbs);
    }
531179
public void createBreadcrumbs(List<Category> categories) {
    categories.forEach(category -> {
      category.setBreadcrumb(getBreadcrumb() + BREADCRUMB_DELIMITER + category.getDescription());
      if (!Objects.equals(category.getGroups(), null)) {
        category.getGroups().forEach(group -> group.addToBreadcrumb(getBreadcrumb()));
      }
      if (!Objects.equals(category.getChildren(), null)) {
        category.createBreadcrumbs(category.getChildren());
      }
    });
  }
1237025
def init_breadcrumbs(self):
        
        g.breadcrumb.append(BreadcrumbItem(icon="home", url="/" + request.script_root))
1303420
protected function setBreadcrumbEditImageStyle()
    {
        $breadcrumbs = array();

        $breadcrumbs[] = array(
            'url' => $this->url('admin'),
            'text' => $this->text('Dashboard')
        );

        $breadcrumbs[] = array(
            'url' => $this->url('admin/settings/imagestyle'),
            'text' => $this->text('Image styles')
        );

        $this->setBreadcrumbs($breadcrumbs);
    }
77680
private function setPageBreadcrumb()
    {
        $this->breadcrumbItems = collect();
        $this->addBreadcrumbLink('Home', '/', 'home');

        $prevTitle = 'Home';
        foreach ($this->parentPages as $k => $page) {

            if ($page->title != $prevTitle) {
                $url = (is_slug_url($page->slug) ? $page->slug : url($page->url));
                $this->addBreadcrumbLink($page->title, $url);
            }

            $prevTitle = $page->title;
        }
    }
935038
protected function breadcrumbs() {

		// get category tree
		$parenttree = $this->getSkin()->getTitle()->getParentCategoryTree();
		$rendered = $this->getSkin()->drawCategoryBrowser( $parenttree );
		/*echo '<pre>';
		print_r($parenttree);
		print_r($rendered);
		echo '</pre>';*/
		//exit;
		// Skin object passed by reference cause it can not be
		// accessed under the method subfunction drawCategoryBrowser
		$temp = explode( "\n", $rendered );
		unset( $temp[0] );
		asort( $temp );

		if (empty($temp)) {
				return array();
		}
		$trees = array();
		foreach ($temp as $line) {
			preg_match_all('~<a[\S\s]+?</a>~', $line, $matches);
			$trees[] = $matches[0];
		}

		return $trees;
	}