2017 © Pedro PelĂĄez
 

library uthando-twitter

Twitter module for Uthando CMS

image

uthando-cms/uthando-twitter

Twitter module for Uthando CMS

  • Saturday, July 7, 2018
  • by shaunfreeman
  • Repository
  • 1 Watchers
  • 0 Stars
  • 48 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 21 Versions
  • 17 % Grown

The README.md

# Uthando Twitter Zend Framework 2 Module

Build Status Test Coverage Code Climate Dependency Status Packagist, (*1)

This Module it designed to work with Uthando CMS, but can work indepentently too. In this release I have included a twitter feed view helper at the moment this is all this module does, I do hope to add more funtionality later., (*2)

Installation

To install this module add to your composer require section, (*3)

"uthando-cms/uthando-twitter" : "1.*"

or on the command line in your project root, (*4)

php composer.phar require uthando-cms/uthando-twitter:1.*

or if you have composer installed globally, (*5)

composer require uthando-cms/uthando-twitter:1.*

Features

  • Twitter feed view helper

Usage

Once installed you have to add 'UthandoTwitter' to your 'modules' section of your app 'application.config.php' file., (*6)

To get started, first you’ll need to either create a new application with Twitter, or get the details of an existing one you control. To do this:, (*7)

  • Go to https://dev.twitter.com/ and sign in.
  • Go to https://dev.twitter.com/apps
  • Either create a new application, or select an existing one.
    • On the application’s settings page, grab the following information:
    • From the header “OAuth settings”, grab the “Consumer key” and “Consumer secret” values.
    • From the header “Your access token”, grab the “Access token” and “Access token secret” values.

Copy the file in config folder 'twitter.local.php.dist' to your root config/autoload folder and rename it to 'twitter.local.php' then fill in the OAuth setting you get from your new twitter app. Also in the 'options' section you need to add your twitter screen name and user name., (*8)

In the view folder I have included a sample view partial so you can have an idea of how the feed works, to do this copy the contents of the public folder to your apps public folder., (*9)

The example uses Twitter Bootstrap 3 so be sure to include this. For example in your layout.phtml file add these lines to your head section:, (*10)

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" media="screen,print" rel="stylesheet" type="text/css">
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css" media="screen,print" rel="stylesheet" type="text/css">

<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
<script type="text/javascript" src="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>

Now in your view script you can add, (*11)

<div id="twitter-feed" class="col-md-4">
    <?php echo $this->tweetFeed()->setPartial('uthando-twitter-feed')->render(); ?>
</div>

This will pull the stream down and display it., (*12)

Contributing

If you want more features or just want to help me out why not fork this repository and send me a pull request Any bugs please submit an issue., (*13)

The Versions

07/07 2018

dev-master

9999999-dev http://shaunfreeman.name/

Twitter module for Uthando CMS

  Sources   Download

BSD-3-Clause

The Requires

 

framework zf2 cms twitter uthando

07/07 2018

2.4.0

2.4.0.0 http://shaunfreeman.name/

Twitter module for Uthando CMS

  Sources   Download

BSD-3-Clause

The Requires

 

framework zf2 cms twitter uthando

27/06 2018

2.3.0

2.3.0.0 http://shaunfreeman.name/

Twitter module for Uthando CMS

  Sources   Download

BSD-3-Clause

The Requires

 

framework zf2 cms twitter uthando

10/10 2017

2.2.0

2.2.0.0 http://shaunfreeman.name/

Twitter module for Uthando CMS

  Sources   Download

BSD-3-Clause

The Requires

 

framework zf2 cms twitter uthando

23/09 2017

2.1.1

2.1.1.0 http://shaunfreeman.name/

Twitter module for Uthando CMS

  Sources   Download

BSD-3-Clause

The Requires

 

framework zf2 cms twitter uthando

17/09 2017

2.1.0

2.1.0.0 http://shaunfreeman.name/

Twitter module for Uthando CMS

  Sources   Download

BSD-3-Clause

The Requires

 

framework zf2 cms twitter uthando

03/04 2017

2.0.2

2.0.2.0 http://shaunfreeman.name/

Twitter module for Uthando CMS

  Sources   Download

BSD-3-Clause

The Requires

 

framework zf2 cms twitter uthando

22/03 2017

2.0.1

2.0.1.0 http://shaunfreeman.name/

Twitter module for Uthando CMS

  Sources   Download

BSD-3-Clause

The Requires

 

framework zf2 cms twitter uthando

13/11 2015

2.0.0

2.0.0.0 http://shaunfreeman.name/

Twitter module for Uthando CMS

  Sources   Download

BSD-3-Clause

The Requires

 

framework zf2 cms twitter uthando

14/09 2015

1.5.1

1.5.1.0 http://shaunfreeman.name/

Twitter module for Uthando CMS

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

framework zf2 cms twitter uthando

02/09 2015

1.5.0

1.5.0.0 http://shaunfreeman.name/

Twitter module for Uthando CMS

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

framework zf2 cms twitter uthando

21/05 2015

1.4.2

1.4.2.0 http://shaunfreeman.name/

Twitter module for Uthando CMS

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

framework zf2 cms twitter uthando

01/02 2015

1.4.1

1.4.1.0 http://shaunfreeman.name/

Twitter module for Uthando CMS

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

framework zf2 cms twitter uthando

01/02 2015

1.4.0

1.4.0.0 http://shaunfreeman.name/

Twitter module for Uthando CMS

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

framework zf2 cms twitter uthando

12/01 2015

1.3.1

1.3.1.0 http://shaunfreeman.name/

Twitter module for Uthando CMS

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

framework zf2 cms twitter uthando

12/12 2014

1.3.0

1.3.0.0 http://shaunfreeman.name/

Twitter module for Uthando CMS

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

framework zf2 cms twitter uthando

25/11 2014

1.2.0

1.2.0.0 http://shaunfreeman.name/

Twitter module for Uthando CMS

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

framework zf2 cms twitter uthando

29/09 2014

1.1.0

1.1.0.0 http://shaunfreeman.name/

Twitter module for Uthando CMS

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

framework zf2 cms twitter uthando

17/08 2014

1.0.2

1.0.2.0 http://shaunfreeman.name/

Twitter module for Uthando CMS

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

framework zf2 cms twitter uthando

13/08 2014

1.0.1

1.0.1.0 http://shaunfreeman.name/

Twitter module for Uthando CMS

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

framework zf2 cms twitter uthando

13/08 2014

1.0.0

1.0.0.0 http://shaunfreeman.name/

Twitter module for Uthando CMS

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

framework zf2 cms twitter uthando