定制 nlybe/amap_coverphoto 二次开发

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

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

nlybe/amap_coverphoto

Composer 安装命令:

composer require nlybe/amap_coverphoto

包简介

Upload and display cover photo to Elgg Entities

README 文档

README

Elgg 2.3

This plugin offers the option to upload cover photo to Elgg Entities.

Features

  • Option to choose in plugin settings the type/subtype of entities for which to enable cover photo
  • For entities type selected, an option to edit the cover photo is added on entity menu
  • If cropper plugin is enabled, a responsive image cropping tool is available to crop the cover photo

How to Use

  1. Enable the plugin
  2. In plugin settings, check the type/subtype of entities for which need to enable cover photo feature
  3. On object view, include the following code
if ($entity->covertime) {                    
    echo elgg_view('output/img', array(
        'src' => amap_cp_getCoverIconUrl($entity, 'large'),
        'alt' => elgg_echo('cover'),
    ));
}

Future Improvements

  • Add on CoverPhoto entity the container_guid indicating the parent entity
  • Add method CoverPhoto->getImageUrl()

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2016-12-26

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固