定制 silbinarywolf/silverstripe-mrfilter 二次开发

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

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

silbinarywolf/silverstripe-mrfilter

Composer 安装命令:

composer require silbinarywolf/silverstripe-mrfilter

包简介

A filtering form API that's fully configurable in the CMS and has live front-end Google Map filtering.

关键字:

README 文档

README

mr-filter

WARNING: This module is currently undergoing breaking API changes, use at your own risk.

Mr Filter is a filtering form that's configurable in the backend and able to be attached to a Page.

It offers a simple to use API for filtering DataLists in the backend as well as offering flexible front-end filtering logic that is done without using slow backend responses.

Toggling Map View

Occassionally in your front-end code, you'll want the map to start hidden and be toggled on with a button. The following code will ensure that if the map starts hidden, that it won't have an incorrect display once it becomes visible.

$('.js-view-map-button').click(function(e) {
	$(this).addClass('is-active');

	$('.js-view-map').removeClass('is-hidden');
	$('.js-view-listing').addClass('is-hidden');
	
	// Fix Google Map display:none; bug
	$('.js-listfilter-widget_googlemap').trigger('GoogleMapRunDrawInit');
});

Requirements

  • SilverStripe 3.1 or higher

Installation

composer require silbinarywolf/silverstripe-mrfilter:1.0.*

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2016-09-07

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固