Download the PHP package minetro/social without Composer
On this page you can find all versions of the php package minetro/social. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download minetro/social
More information about minetro/social
Files in minetro/social
Package social
Short Description Social plugins for Nette Framework
License MIT
Homepage https://github.com/contributte/social
Informations about the package social
Website 🚀 contributte.org | Contact 👨🏻💻 f3l1x.io | Twitter 🐦 @contributte
Disclaimer
| :warning: | This project is no longer being maintained. |
|---|
| Composer | contributte/social |
|---|---|
| Version | |
| PHP | |
| License |
Documentation
Content
- Google +1
- Google Analytics Campaign Maker
Collection of facebook components for Nette 2.4.0.
Plugins
| Plugin | Source | Docs |
|---|---|---|
| Like Button | source | doc |
| Share Button | source | doc |
| Send Button | source | doc |
| Embedded Posts | source | doc |
| Embedded Videos | source | doc |
| Follow Button | source | doc |
| Comments | source | doc |
| Page Plugin | source | doc |
Deprecated
| Plugin | Source | Docs |
|---|---|---|
| Activity Feed | source | doc |
| Recommendations Feed | source | doc |
| Like Box | source | doc |
| Facepile | source | doc |
Usage
Presenter
Template
You have to display JavaScript code.
Google +1
Settings
| Type | Field | Default | Setter/Getter | Info |
|---|---|---|---|---|
| string | $size |
standard | yes/yes | |
| string | $annotation |
inline | yes/yes | inline/bubble/none |
| string | $callback |
NULL | yes/yes | |
| string | $url |
NULL | yes/yes | |
| int | $mode |
default | yes/yes | default/explicit/dynamic |
| int | $width |
300 | yes/yes | |
| string | $lang |
cs | yes/yes | |
| Html | $elementPrototype |
div class="g-plusone" | yes/yes | html prototype |
| array | $properties |
[] | yes/yes |
Factory
Template
Render javascript
Place before </body> or </head>.
{control plusone:js}
Render button
Button #1: {control plusone}
Button #2: {control plusone, $url}
Button #3: {control plusone, 'www.seznam.com'}
Google Analytics Campaign Maker
Small utility for creating GA accepted parameters to url.
Parameters
- source
- medium
- campaign
- term
- content
Usage
TweetButton
Settings
| Type | Field | Default | Setter/Getter | Info |
|---|---|---|---|---|
| string | $url |
NULL | yes/yes | |
| string | $href |
https://twitter.com/share | yes/yes | |
| string | $via |
NULL | yes/yes | |
| string | $text |
NULL | yes/yes | |
| string | $related |
NULL | yes/yes | |
| string | $count |
vertical | yes/yes | none/vertical/horizontal |
| string | $counturl |
NULL | yes/yes | |
| array | $hashtags |
[] | yes/yes | |
| string | $size |
medium | yes/yes | medium/large |
| bool | $dnt |
FALSE | yes/yes | |
| string | $lang |
cs | yes/yes | |
| Html | $elementPrototype |
a | yes/yes | html prototype |
| string | $elementText |
Tweet | yes/yes | |
| array | $properties |
[] | yes/yes |
Helpers
setShareButton($text)setMentionButton($mention)setHashtagButton($hashtag)
Factory
config.neon
Presenter
Template
Render javascript
Place before </body> or </head>.
{control twitter:js}
Render button
Button #1: {control twitter}
Button #2: {control twitter, $url}
Button #3: {control twitter, 'www.seznam.com'}
Development
This package was maintained by these authors.
Consider to support contributte development team. Also thank you for using this package.