定制 richardsjoqvist/silverstripe-siteaddress 二次开发

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

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

richardsjoqvist/silverstripe-siteaddress

Composer 安装命令:

composer require richardsjoqvist/silverstripe-siteaddress

包简介

Adds a set of extra fields to the main settings page in order to configure a site-wide company address that can be displayed on all pages of the site

README 文档

README

This is a SilverStripe module that adds a set of extra fields to the main settings page in order to configure a site-wide company address that can be displayed on all pages of the site.

Requirements

  • SilverStripe 3.1

Installation

Drop the module into your SilverStripe project and run /dev/build

Usage

The address data can be inserted into a template in two different ways; either as separate fields:

<div class="vcard">
	<div class="org">$SiteConfig.Company</div>
	<div class="adr">
		<div class="street-address">$SiteConfig.Street, </div>
		<span class="postal-code">$SiteConfig.Zip</span>
		<span class="locality">$SiteConfig.City, </span>
		<span class="country-name">$SiteConfig.Country</span>
		<span class="po-box">$SiteConfig.Box</span>
	</div>
	<a class="email" href="mailto:$SiteConfig.Email">$SiteConfig.Email</a>
	<div class="tel">$SiteConfig.Phone</div>
	<div class="mobile">$SiteConfig.Mobile</div>
	<div class="fax">$SiteConfig.Fax</div>
</div>

or as a pre-compiled vcard:

$SiteConfig.vCard

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2013-05-03

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固