georgringer/news-gallery 问题修复 & 功能扩展

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

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

georgringer/news-gallery

Composer 安装命令:

composer require georgringer/news-gallery

包简介

Add possibilities for galleries in a news record

README 文档

README

About

This extension provides an easy way to file collections to a news record. There are various types of file collections like:

  • Static selection of files
  • Folder from storage
  • Select by category

Requirements

  • TYPO3 8.7 - 9.5
  • Extension "news" 6.0.0-7.9.99

Screenshots

Screenshot of the backend

How to use

Using this extension is simple! Follow this steps:

Creating the records

  1. Install the extension. You can get it either from the TER or from Github
  2. Create a new record "File collection" and define some images.
  3. Create a news record or open an existing one, switch to the tab "Relations" and add the previously created record in the new relation.

Adopt the template

To be able to show the images you need to alter the templates.

1st of all add the namespace declaration at the top of the template:

{namespace ngallery=GeorgRinger\NewsGallery\ViewHelpers}

This is just an example snippet which outputs all images of the file collection in a basic list:

<ngallery:render collections="{newsItem.txGalleryCollections}" storage="{newsItem.txGalleryStorage}" folder="{newsItem.txGalleryFolder}"  as="gallery">
        <f:debug>{gallery}</f:debug>
</ngallery:render>

Note

You can use the gallery in any action of the news extension. No matter if List.html, Detail.html or anything else.

georgringer/news-gallery 适用场景与选型建议

georgringer/news-gallery 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 83 次下载、GitHub Stars 达 2, 最近一次更新时间为 2017 年 07 月 28 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「extension」 「news」 「gallery」 「typo3」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 georgringer/news-gallery 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 georgringer/news-gallery 我们能提供哪些服务?
定制开发 / 二次开发

基于 georgringer/news-gallery 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2017-07-28