yiimaker / yii2-social-share Goto Github PK
View Code? Open in Web Editor NEWWith this extension you can share data from your web pages to any social network!
License: BSD 3-Clause "New" or "Revised" License
With this extension you can share data from your web pages to any social network!
License: BSD 3-Clause "New" or "Revised" License
Share URL
http://compose.mail.yahoo.com/?subject={subject}&body={body}
i'm pretty new with yii2, i've added a widget like this
<?= \ymaker\social\share\widgets\SocialShare::widget([ 'configurator' => 'socialShare', 'url' => \yii\helpers\Url::to('http://facebook.com', true), 'title' => 'FB', 'description' => 'Description of the page...', ]); ?>
to my view, but it shows me
Invalid Configuration โ yii\base\InvalidConfigException
Failed to instantiate component or class "socialShare"
error, should i use the 'use' statement at the start of my file ?
Hello!
How can I use the configuratorId? I configured the Socialnetwork with facebook and when I used the widget in my website show this message:
"Setting unknown property: ymaker\social\share\widgets\SocialShare::configuratorId"
Share link
https://trello.com/add-card?source=trello.com&url=https%3A%2F%2Ftrello.com%2Fadd-card&name=Create%20a%20Trello%20card%20from%20any%20web%20page
For me after this commit default icons are not showing.
I have added a fix in #6 pr.
If I setted up all needed meta tags manually in view file, so I don't need to widget generated tags. So I should have some option for disabling meta tags which generated by widget drivers.
Many use a set of icons from other developers (Font Awesome).
If you enable the setting 'enableDefaultIcons', the page loaded styles for your icons (SocialIconsAsset).
'icons' => [
\ymaker\social\share\drivers\Facebook::class => 'fab fa-facebook',
\ymaker\social\share\drivers\GooglePlus::class => 'fab fa-google-plus-g',
],
'enableIcons' - display icons instead of text.
'enableDefaultAsset' - use your icon styles.
We are using this plugin in our below website to share individual deal share on facebook. When we are using below website index page url in facebook ads for promotion( or in facebook debugger) then its taking any random deal as post.
https://www.flashmarket.com.au/
How we can define meta tag for index page website url?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.