todomagichere/ibexa-breadcrumbs-bundle 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

todomagichere/ibexa-breadcrumbs-bundle

最新稳定版本:v1.1.1

Composer 安装命令:

composer require todomagichere/ibexa-breadcrumbs-bundle

包简介

This bundle provides a basic breadcrumbs system for ibexa cms

README 文档

README

This is the first version of ibexa breadcrumbs bundle. The intention of this bundle is to make easy the breadcrumb system implementation for the ibexa platform, previously known as ezplatform.

Installation instructions

From composer, run the following command:

composer require todomagichere/ibexa-breadcrumbs-bundle

To get the breadcrumb system up and running, it must be invoked from a twig template (usually a full view) with this function:

{{ get_breadcrumbs(location) }}

It should be noted that the location parameter is mandatory, since the way the breadcrumbs are generated is through their pathString

Configuration file

The point of this configuration file is to avoid a certain number of locations, passing the location id, or in the other hand manage the content types rejected, for example:

#config/packages/ibexa_breadcrumbs.yaml
ibexa_breadcrumbs:
    locations_rejected: [2, 3, 140]
    contenttypes_rejected: ['folder', 'distributor', 'article']

Twig template

Suppose we have the following content tree:

imagen

We can see that it is rendered as follows:

imagen

Overriding Twig template

To override the default template breadcrumbs.html.twig just create a new template (See default template behaviour for new implementation):

ezplatform/templates/bundles/IbexaBreadcrumbsBundle/breadcrumbs.html.twig

统计信息

  • 总下载量: 3
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-02-15

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固