Plugin for Cotonti CMF. It adds «Share it» widget to pages of cite.
Adds easy to use widget for social networks sharing to pages of your site. You can setup list of allowed services choosing from more than 20 social sites. Basicly all you need to enable it - is to install Extension. It will automatically adds widget to bottom of you pages and news. Also you can finetune placement of widget with manually adding {SOCIAL_SHARE}
tag in tpl files.
{PHP.social_share}
tagDeveloped for Cotonti Siena (0.9.x branch). Worked with/or without jQuery enabled.
Comming soon…
Current version 1.3 tested with:
HTML Kickstart
, Nemesis
standard
, bootstrap
, priori
Simply generates widget code based on your Extension settings (widget style and services list). Then auto insert widget code in bottom of pages or place specified with own tag in TPL files.
Administration panel → Extensions
)
After install you must see widget block on bottom of articles and news pages (accordingly you had page
and news
modules installed). You can choose used services, language and widget style in Extension config menu (Administration panel → Extensions → Social share → Configuration
).
If you want to change location of widget switch off «autoinsertion» mode in Extension config menu and manually add tag {SOCIAL_SHARE}
in one of the templates:
index.tpl
news.tpl
page.tpl
page.list.tpl
forum.posts.tpl
If you suppose to insert widget in other templates — use {PHP.social_share}
tag. If you want to change default url
, title
or description
of sharing page — use funciton style tag {PHP|social_share('url','title','tag')}
.
Great thanks!!
Does this show a count (how many times someone has linked)?
Thanked: 7 раз
already installed, I like, thank you.
very good automatic insertion!
Thanked: 14 раз
Macik Спасибо!!!
Thanked: 181 раз
to musashi9: No it does not have counter, because we can not track is user really share page or only clicks the share button.
Thanked: 7 раз
@Macik
maybe an idea to add a counter for clicks? So a admin can roughly see how many times it's been shared? Just a small suggestion..
Конфликтует с Similar Pages - подставляет вместо исходной страницы ту, которую выдает Similar pages...
Thanked: 2 рази
На Cotonti Siena 0.9.14 в настройках плагина стала появлятся ошибка:
Warning: Invalid argument supplied for foreach() in D:\Server\home\vgolovkov.my\plugins\social_share\lang\social_share.ru.lang.php on line 73
Thanked: 181 раз
I had posted issues on github. So wish it could be fixed next week.
Thanked: 5 раз
Исправление 73 ошибки так и не появилось?
Thanked: 5 раз
Можно конечно поставить заглушку в 73 строке if(isset($socs_service_data) && is_array($socs_service_data)) foreach ($socs_service_data as $scode=>$sdata) {
проверить на сущестование...
Thanked: 5 раз
тогда ошибки не будет но хз правильно это нет..