GithubHelp home page GithubHelp logo

drmonkeyninja / cakephp-social-share Goto Github PK

View Code? Open in Web Editor NEW
31.0 31.0 11.0 594 KB

CakePHP link generator for sharing content on social networks

License: MIT License

PHP 100.00%
cakephp facebook linkedin twitter

cakephp-social-share's People

Contributors

drmonkeyninja avatar marquilio7 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cakephp-social-share's Issues

Regarding version? Is that work for cakephp 3.2?

Hello dear Can you tell me how i use it and how i run it on my console and what changes are made by me in my project.
When i install it on my project it does not work for me. i run the following command in my console
step 1.composer require drmonkeyninja/cakephp-social-share:3.0.*
step 2. in config /bootstrap .php Plugin::load('SocialShare');
i use this command instaed of Plugin::load('Migration');
step3.in my controller i use this line
public $helpers = ['SocialShare.SocialShare'];
step 4 in my template in .ctp file echo $this->SocialShare->link(
'facebook',
__('Share on Facebook')
);
So please tell me may i need to another changes in my controller my mean is that in (vendor/src/controller) i don't use these controller in my controller.so please tell me why it not work for me.Please help me i am new in cakephp ?and i want to login through social site and made all functionality like how we change password,forget password,like function,comments function and also captca function in my login pannel.so please help me dears.

how to save share count?

I want to save the share count in the post data table and save the share list of every social share link in a different table "post_shares" with the columns user_id/post_id/shared_at. How it is possible

Cannot install on cakephp version 4

  • drmonkeyninja/cakephp-social-share 3.0.0.0 requires cakephp/cakephp ~3.0 -> satisfiable by cakephp/cakephp[3.0.0, 3.0.0-RC1, 3.0.0-RC2, 3.0.0-alpha1, 3.0.0-alpha2, 3.0.0-beta1, 3.0.0-beta2, 3.0.0-beta3, 3.0.1, 3.0.10, 3.0.11, 3.0.12, 3.0.13, 3.0.14, 3.0.15, 3.0.16, 3.0.17, 3.0.18, 3.0.19, 3.0.2, 3.0.3, 3.0.4,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3.7.2, 3.7.3, 3.7.4, 3.7.5, 3.7.6, 3.7.7, 3.7.8, 3.7.9, 3.8.0, 3.8.0-RC1, 3.8.0-RC2, 3.8.0-RC3, 3.8.0-beta1, 3.8.1, 3.8.10, 3.8.11, 3.8.12, 3.8.13, 3.8.2, 3.8.3, 3.8.4, 3.8.5, 3.8.6, 3.8.7, 3.8.8, 3.8.9, 3.9.0, 3.9.0-RC1, 3.9.0-RC2, 3.9.1, 3.x-dev] but these conflict with your requirements or minimum-stability.
    • Installation request for drmonkeyninja/cakephp-social-share 3.0.* -> satisfiable by drmonkeyninja/cakephp-social-share[3.0.0.0, 3.0.0.1, 3.0.1, 3.0.2].

Twitter link

Hello,

Your plugin is great for it's main functionnality, but i think you are missing the "via" for twitter service.

Have a good day.

No se muestran los iconos

Hola, creo que encontré una forma para que se muestren los iconos con fontawsome free
en vez de usar fa:
public function icon($service, array $options = [])
{
$class = 'fa ' . (!empty($this->_fa[$service]) ? $this->_fa[$service] : $this->_config['default_fa']);

usar fab:

public function icon($service, array $options = [])
{
$class = 'fab ' . (!empty($this->_fa[$service]) ? $this->_fa[$service] : $this->_config['default_fa']);

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.