social-links All top social media links like - facebook, twitter, linkedin etc.

  1. Requirements
  2. Install
  3. Usage
  4. Download
  5. Usual parameters to be adjusted:
  6. Resources
  7. More Extension

All top social media links like - facebook, twitter, linkedin etc. with left & right alignment.

Requirements

Tested with Yii 1.1.14

Install

  • Download the latest release package
  • Unpack it in /protected/extensions/ folder

Usage

Paste the code into your main.php page or also you can use this code as per your requirement.

$this->widget('application.extensions.socialLink.socialLink', array(
    'style'=>'left', //alignment - left, right
	'top'=>'30',  //in percentage
        'media' => array(
		'facebook'=>array(
			'url'=>'http://facebook.com/',
			'target'=>'_blank',
		),
        'twitter'=>array(
			'url'=>'http://twitter.com/',
			'target'=>'_blank',
		),
		'google-plus'=>array(
			'url'=>'https://plus.google.com/',
			'target'=>'_blank',
		),
		'linkedin'=>array(
			'url'=>'http://linkedin.com/',
			'target'=>'_blank',
		),
		'rss'=>array(
			'url'=>'http://rss.com/',
			'target'=>'_blank',
		), 
      )
));

Download

https://github.com/rohitsuthar/socialLink

Usual parameters to be adjusted:

  • style: social link sidebar alignment (string: left or right).
  • top: the sidebar margin from top (in percentage: 30)
  • social media: social network which you must have (facebook, twitter, googleplus, linkedin, rss );
  • url: Your social media profile page link (url: http://www.facebook.com/fb_page)
  • target: click behaviour (target: _blank, _self, _parent)

*Note - Work online.

Resources

More Extension

Visit - www.yiiexpert.github.io

0 0
6 followers
501 downloads
Yii Version: all
License: BSD-2-Clause
Category: Web Service
Developed by: Rohit Suthar
Created on: Jun 3, 2014
Last updated: 9 years ago

Downloads

show all

Related Extensions