2017 © Pedro Peláez
 

silverstripe-module 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

image

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

  • Monday, December 2, 2013
  • by richardsjoqvist
  • Repository
  • 2 Watchers
  • 2 Stars
  • 45 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Company address SilverStripe module

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., (*1)

Requirements

  • SilverStripe 3.1

Installation

Drop the module into your SilverStripe project and run /dev/build, (*2)

Usage

The address data can be inserted into a template in two different ways; either as separate fields:, (*3)

<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:, (*4)

$SiteConfig.vCard

The Versions

02/12 2013

dev-master

9999999-dev https://github.com/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

  Sources   Download

The Requires

 

module silverstripe siteaddress

02/12 2013

1.1.0

1.1.0.0 https://github.com/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

  Sources   Download

The Requires

 

module silverstripe siteaddress

03/05 2013

1.0.0

1.0.0.0 https://github.com/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

  Sources   Download

The Requires

 

module silverstripe siteaddress