定制 heimrichhannot/contao-news_categories 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

heimrichhannot/contao-news_categories

Composer 安装命令:

composer require heimrichhannot/contao-news_categories

包简介

news_categories extension for Contao Open Source CMS

README 文档

README

This fork is based on codefog/contao-news_categories version 2.8.6 and provides several new functionalities.

New features

  • primary category support (primary category can be set on news, otherwise first category in list is primary category)
  • category jumpTo based on news_archive (can be set on each news category for each news archive)
  • news url jumpTo based on news_archive and primary category (can be set on each news category for each news archive) -> news url will be linked to the primary category jumpTo page instead of archive jumpTo page
  • news categories can now have a teaser (also based on news_archive, can be set on each news category for each news archive)

Inserttags

Tag Arguments Description
{{news_archive_category_page::*::*}} 1. category ID or alias, 2. news archive id This tag will be replaced with the ID of the linked category page based on the given news archive id.
{{news_archive_category_page_url::*::*}} 1. category ID or alias, 2. news archive id This tag will be replaced with the URL of the linked category page based on the given news archive id. <a href="{{news_archive_category_page_url::12::1}}">Click here</a>
{{news_archive_category_page_title::*::*}} 1. category ID or alias, 2. news archive id This tag will be replaced with the title of the linked category page based on the given news archive id: <a title="{{news_archive_category_page_title::12::1}}">Click here</a>.
{{news_archive_category_page_link::*::*}} 1. category ID or alias, 2. news archive id This tag will be replaced with a link of the linked category page based on the given news archive id.
{{news_archive_category_page_name::*::*}} 1. category ID or alias, 2. news archive id This tag will be replaced with the name of the linked category page based on the given news archive id.
{{news_archive_category_page_link_open::*::*}} 1. category ID or alias, 2. news archive id Will be replaced with the opening tag of a link of the linked category page based on the given news archive id: {{news_archive_category_page_link_open::12::1}}Click here{{link_close}}
{{news_archive_category_teaser::*::*}} 1. category ID or alias, 2. news archive id This tag will be replaced with the teaser text of the linked category page based on the given news archive id.
{{news_category_page::*::*}} 1. category ID or alias This tag will be replaced with the ID of the linked category.
{{news_category_alias::*::*}} 1. category ID or alias This tag will be replaced with the alias of the linked category.
{{news_category_teaser::*::*}} 1. category ID or alias This tag will be replaced with the teaser text of the linked category.
{{news_category_link::*}} 1. news ID or alias This tag will be replace with a news link for the given news, based on the primary category jumpTo (if set) for the news parent id (archive).
{{news_category_link_open::*}} 1. news ID or alias Will be replaced with the opening tag of a news link for the given news, based on the primary category jumpTo (if set) for the news parent id (archive).
{{news_category_url::*}} 1. news ID or alias This tag will be replace with a news url for the given news, based on the primary category jumpTo (if set) for the news parent id (archive).

统计信息

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

GitHub 信息

  • Stars: 1
  • Watchers: 5
  • Forks: 26
  • 开发语言: PHP

其他信息

  • 授权协议: LGPL-3.0
  • 更新时间: 2017-10-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固