Active
Project:
Mail.ru
Version:
6.x-1.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Feb 2011 at 14:15 UTC
Updated:
9 Jul 2011 at 17:25 UTC
hello, i can't disable text in share button code
Порекомендуйте эту страницу друзьям в Моем Мире@Mail.Ru
this span MUST be disabled by unchecking "display text" option?
Comments
Comment #1
seaji commentedNo, its not disabledeble.
Its mail.ru's policie
Comment #2
ionmedia commentedok, what text will be disabled by unchecking "display text" option?
Comment #3
seaji commentedWhen you click "share" your name is displayed here.
Unchecking "display text" option will hide this text
Comment #4
eldarko commentedIt is possible to hide the text.
Now the module has the following code:
mail_ru/mail_ru_share/mail_ru_share.module:
$b_sh_text = ($button_show_text) ? "'show_text' : 'true', " : "'show_text' : 'false', ";
It could be changed with:
$b_sh_text = ($button_show_text) ? "'show_text' : 'true', " : '';
I.e. you shouldn't specify show_text attribute at all.
It is clearly written here: http://api.mail.ru/sites/plugins/share/extended/:
Отображение поясняющего текста
Рядом с кнопкой может отображаться текст, поясняющий смысл кнопки и описывающий кто из друзей пользователя уже поделился страницей. Для этого укажите в атрибуте data-mrc-config укажите параметр show_text. Если вы не хотите отображать фотографии, не указывайте параметр.
Comment #5
eldarko commentedBTW: the same thing with the show_faces attribute.