2017 © Pedro Peláez
 

cakephp-plugin cakephp_sociallinks

Adds fields to a model for saving social links, eg. Blog, Facebook, Twitter, etc.

image

loadsys/cakephp_sociallinks

Adds fields to a model for saving social links, eg. Blog, Facebook, Twitter, etc.

  • Friday, May 8, 2015
  • by jtyost2
  • Repository
  • 6 Watchers
  • 1 Stars
  • 288 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 2 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

CakePHP-SocialLinks

Latest Version Software License Build Status Coverage Status Total Downloads, (*1)

Adds fields to a model for saving social links, eg. Blog, Facebook, Twitter, etc., (*2)

Requirements

  • PHP 5.3+
  • CakePHP 2.1+

Installation

Composer

$ composer require loadsys/cakephp_sociallinks:~1.0

Usage

  • Add SocialLinks to your application by adding this line to your bootstrap.php
CakePlugin::load('SocialLinks');
  • Add Behavior to the Model, each parameter is the database field name, or false to not include that field
public $actsAs = array(
    'SocialLinks.SocialLinks' => array(
        'blog' => 'blog', //blog field name in the database, or false if you don't have this field
        'pinterest' => false, //pinterest field name in the database, or false if you don't have this field
        'googleplus' => 'googleplus', //googleplus field name in the database, or false if you don't have this field
        'youtube' => 'youtube', //youtube field name in the database, or false if you don't have this field
        'linkedin' => 'linkedin', //linkedin field name in the database, or false if you don't have this field
        'facebook' => 'facebook', //facebook field name in the database, or false if you don't have this field
        'twitter' => 'twitter', //twitter field name in the database, or false if you don't have this field
    ),
);

Contributing

  • Fork the plugin to your Github account
  • Checkout the plugin
  • Create a new branch with your changes
  • Issue a PR back to the master branch with your changes

License

Copyright (c) 2015 Loadsys Web Strategies, (*3)

The Versions

08/05 2015

dev-master

9999999-dev https://github.com/loadsys/CakePHP-SocialLinks

Adds fields to a model for saving social links, eg. Blog, Facebook, Twitter, etc.

  Sources   Download

MIT

The Requires

 

social cakephp model behavior

08/05 2015

dev-cake-2.x

dev-cake-2.x https://github.com/loadsys/CakePHP-SocialLinks

Adds fields to a model for saving social links, eg. Blog, Facebook, Twitter, etc.

  Sources   Download

MIT

The Requires

 

social cakephp model behavior

01/04 2015

v1.0.1

1.0.1.0 https://github.com/loadsys/CakePHP-SocialLinks

Adds fields to a model for saving social links, eg. Blog, Facebook, Twitter, etc.

  Sources   Download

MIT

The Requires

 

social cakephp model behavior

18/02 2014

1.0

1.0.0.0 https://github.com/loadsys/CakePHP-SocialLinks

A CakePHP Plugin for adding Social Links to a Model

  Sources   Download

MIT

The Requires

 

cakephp model behavior