定制 hestec/silverstripe-mobiledetect 二次开发

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

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

hestec/silverstripe-mobiledetect

Composer 安装命令:

composer require hestec/silverstripe-mobiledetect

包简介

SilverStripe mobile detection

README 文档

README

Overview

For some websites it's desirable to make it adaptive instead of responsive. This module detects if the users device is a mobile phone or not. If it ís a mobile phone the user will be redirected to the separate mobile theme. You can choose: redirected the mobile user to a separate (sub)domain with the mobile theme or just display the mobile theme at the same main domain.

Based on the SilverStripe Mobile module (https://github.com/silverstripe/silverstripe-mobile). But with this Adjustments:

  • Mobile detection is handled by the PHP class Mobile Detect (http://mobiledetect.net/). This class is regularly updated with the newest mobile devices.
  • This module sees only mobile phones as mobile device, tablets are not treated as mobile device because in most situations the desktop version is displayed well on tablets.

Version

Using Semantic Versioning.

Requirements

  • SilverStripe > 3.1, tested untill 3.3.1.

Installation

composer require hestec/silverstripe-mobiledetect 1.*

Usage

In the CMS, browse to the "Settings" tab on the left navigation bar to access the SiteConfig settings.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2016-05-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固