hypejunction/ui_icons 问题修复 & 功能扩展

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

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

hypejunction/ui_icons

Composer 安装命令:

composer require hypejunction/ui_icons

包简介

Standardized icon markup

README 文档

README

Elgg 2.0

Features

  • Standardized icons display and markup
  • Forces large icon to be 200x200 square
  • Adds extra_large icon with 325 with that is resizes similar to master
  • Allows you to choose between square, rounded, circle corners
  • Replaces default user, group and question mark icons with a scalable SVG image

Icons Sandbox

Usage

Display an icon with defualt corner setting

// 'rounded' and 'circle' corners will only be displayed with tiny, small and medium icon sizes
echo elgg_view_entity_icon($entity, 'small');

Force corner setting

echo elgg_view_entity_icon($entity, 'large', array(
	'corners' => 'circle',
));

Replacing default icon

To replace the default icon, simply overwrite the svg view. Just place an svg icon with the same name and in the same location in your plugin.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2015-11-17

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固