Как отобразить соц. кнопки дважды на одной странице?

More
7 years 4 months ago #6688 by Валентин
Добрый день!
Подскажите возможно ли вывести социальные кнопки в двух местах на одной странице (например, в начале и в конце статьи)? Если возможно, то как?

Что сделано: В одной статье (factum-info.net/zabluzhdeniya/raznoe/299...zabluzhdenij-chast-1) попробовал вывести соц. кнопки в начале и в конце статьи:
1) пробовал вывести в разных дивах с разными id (указывал в настройках плагина через запятую в "месте для вывода")
2) пробовал вывести в двух дивах (в начале и в конце статьи) с одинаковым классом

В итоге кнопки выводятся нормально, но работают неправильно:
в начале статьи - отображаются корректно, но не работаю при клике по ним
в конце статьи - работают при клике нормально, но отображаются без счетчиков.

Please Log in or Create an account to join the conversation.

More
7 years 3 months ago #6693 by JoomLine
Потому что кнопки не расчитаны на это дело. И мы не будем делать поддержку вывода в двух местах на странице.
На это есть несколько причин.
1. техническая - она решаемая, но так как есть ряд визуальных и логических проблем решать ее бессмысленно.
2. Юзабилити - на кнопки вначале статьи просто не кликают. Ну вот не кликают и все. Я просто для примера приведу вопрос, вы готовы поделиться статьей, которую вы еще не читали?? Я лично нет и 99% людей не готовы, а кому надо поделиться не читая, тот поделится в любом случае.
3. Организационная - на практике если вы хотите показать социальные кнопки много и еще раз много раз есть куда более гибкие методы, допустим вы выводите соц, кнопки под заголовком статьи, допустим когда проматывается экран до них они прилипают слева и проматываются до конца статьи и прилипают где-то там в конце, на мой взгляд, это куда более эффективно будет, но проблема такого решения, его нужно будет точить под каждый шаблон в отдельности.

Please Log in or Create an account to join the conversation.

More
7 years 3 months ago #6696 by Валентин

Please Log in or Create an account to join the conversation.

More
6 years 4 months ago #7342 by Стас
А если я хочу повесить код в "шапке" сайта, будет ли работать плагин для всех страниц (категории, материалы...)? И что в таком случае ставить:

$helper->loadScriptAndStyle(0,1); //1-если в категории, 0-если в контенте

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum

Last from the forum

    • gijige5931
    • The egg rolls come in 3 flavors, such as native land fresh egg rolls, clean butter egg rolls and clean coconut milk egg rolls, to be had in 1 pound and a couple of pound programs.
    • In Component / Afisha Joomla
    • onlinetopbestblogger
    • One crisp autumn afternoon, while playing near the house, Emma noticed something shiny half-buried in the dirt. She dug it up and found an old, ornate key with intricate designs. Excited, she wondered what it might open. With the key clutched tightly in her hand, she approached the old house. The door creaked open with surprising ease, and Emma stepped inside. The interior was just as dusty as the outside, but it had an air of mystery. She wandered through the rooms, discovering old furniture and forgotten toys. Each room told a story of a family that had once lived there long ago. As she explored, Emma came upon a small, locked chest in the corner of one room. Her heart raced as she inserted the key into the lock. With a satisfying click, the chest opened to reveal a collection of old photographs, letters, and a beautiful, hand-carved wooden box. Inside the wooden box was a small locket. When Emma opened it, she saw a picture of a young girl who looked strikingly similar to herself. Beside the locket was a letter addressed to "The Finder of the Key." The letter explained that the house had belonged to a family who had to leave quickly many years ago, leaving behind their cherished belongings. The letter's writer was the young girl’s great-grandparent, and the locket was a family heirloom meant to be passed down. Emma's heart swelled with joy as she realized that she had discovered a piece of her own history. She decided to bring the locket and the other treasures to her parents. They were amazed and touched by the find, and they decided to restore the old house, making it a special place to remember their family’s history. From that day on, the house was no longer forgotten. It became a cherished part of the town, where Emma and her family would often visit, sharing stories of the past and making new memories. And so, the little girl with the curious heart had not only uncovered a hidden treasure but had also brought new life to a piece of history, all with a simple, forgotten key.
    • In Общий форум / Общие вопросы по Joomla
    • how to get sponsored for running
    • is a tool specifically designed to help users bypass Google's Factory Reset Protection (FRP) on Samsung devices. This app is essential for individuals who have forgotten their Google account credentials or purchased a used Samsung phone still linked to a previous owner's account. With its user-friendly interface, the FRP Bypass App DM simplifies the unlocking process, enabling users to regain access to their devices quickly and without the need for technical expertise. This makes it a valuable resource for anyone facing FRP lock challenges on Samsung smartphones.
    • In Component / JL Weather
© 2010- JoomLine
The Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries. joomline.net is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

email: This email address is being protected from spambots. You need JavaScript enabled to view it.