Move social buttons from vertical to horizontal

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Mon Oct 13, 2014 10:23 pm
Reply with quote
Report this post
I would hide the social buttons (facebook, twitter, g+1, read, print, email) that are on the left of any article page and add them at the top and bottom of any article page.
I read here https://www.gavick.com/forums/news2-joomla3/where-to-disable-the-social-plugins-38928.html that to hide them I have to go to k2 items.
But I cannot find anything to disable.
I clicked to component-->k2-->items-->Parameters--> and then social tab, but all the fields are empty. Can you tell me exactly where do I have to go to hide such buttons?

My website is http://www.casino-online.bz
username: gavick
password: gavick
everybody can know such passwords cause they are set only to hide the website to google, so any forum user can access to my website.
Override is enabled.
User avatar
Expert Boarder

GK User
Thu Oct 16, 2014 8:56 am
Reply with quote
Report this post
3 days with no answer. Too bad. :(
User avatar
Expert Boarder

GK User
Tue Oct 21, 2014 4:35 pm
Reply with quote
Report this post
I noticed that this webmaster:
http://2014.myjcr.com/news/general-news ... ident-1212

has been able to accomplish my request (social buttons are at the bottom of the article). So it is possible. Can you tell me how to proceed?
User avatar
Expert Boarder

GK User
Thu Oct 23, 2014 5:47 pm
Reply with quote
Report this post
Please help me. I am waiting for your answer from 10 days.
:( :( :( :( :(
User avatar
Expert Boarder

GK User
Mon Oct 27, 2014 7:39 am
Reply with quote
Report this post
I'm having problems accessing your site... Is it live?
User avatar
Moderator

GK User
Mon Oct 27, 2014 10:15 am
Reply with quote
Report this post
Yes my website is live and I can access to it, as you can see from the image attached. Do not know why you cannot access, probably it is a traffic/internet temp problem. Are you able to visit it now?
My goal is havinf social buttons (share, like,...) at the bottom of the k2 item articles.
User avatar
Expert Boarder

GK User
Wed Oct 29, 2014 3:59 pm
Reply with quote
Report this post
Please support me
User avatar
Expert Boarder

GK User
Wed Oct 29, 2014 11:03 pm
Reply with quote
Report this post
Please support me
User avatar
Expert Boarder

GK User
Thu Oct 30, 2014 9:47 am
Reply with quote
Report this post
Please support me
User avatar
Expert Boarder

GK User
Sat Nov 01, 2014 10:44 am
Reply with quote
Report this post
Please do not bump your question (reply to your own thread) - it will always make you wait longer as it puts your thread down in our queue.
On the provided url there is a 3rd party plugin used - from what I see it's com_jfbconnect. It will create facebook sharing under the article.
To remove sidebar sharing you need on k2 articles you need to set some settings per article or per category to make change to all items in particular category.
To do so please either edit particular article or category, and on the right side please open "Item View Options" and make sure those options are set to "Hide":
Code: Select all
Font Resizer
Print Button
Email Button
'Social button' like ShareThis, AddThis etc.
Anchor link to video
Anchor link to image gallery
Rating (voting)
Hits (page views)


Next open "Social Sharing" section and set to "Hide" all 3 available options.
User avatar
Moderator

GK User
Sat Nov 01, 2014 10:26 pm
Reply with quote
Report this post
Thank you Cyberek for your answer.
I have been able to hide the vertical social buttons. You can check here the result:
www.casino-online.bz/scommesse/quarta

But sincerely I do not want to pay $60 for JFBConnect only to let appear the social buttons under the k2 item article.
By searching the forum again I found that other customers of yours had the same wish and here:
https://www.gavick.com/forums/news2-joomla3/moving-socials-from-sidebar-to-bottom-of-article-39555.html
you said:
"Placing them under the article is an easy way"

Can you explain in details the method to place them under the k2 article?
User avatar
Expert Boarder

GK User
Tue Nov 04, 2014 12:01 pm
Reply with quote
Report this post
You need to edit php file that generates k2 item and move code that generates those elements from sidebar to bottom of the article. Its mostly copy/paste, but you need to know what you are doing (basic php/html knowledge is required).
User avatar
Moderator

GK User
Tue Nov 04, 2014 10:56 pm
Reply with quote
Report this post
Here https://www.gavick.com/forums/startup/moving-socials-from-k2-to-where-it-should-ve-been-35444.html Oscar E explains in details what you said, but I have two questions.
A) in point 2) Oscar said to select the area starting from <?php if($params->get('itemTwitterButton',1) || .... but where this area ends? I understood where it starts, but do not know where it ends.
B) "Move to the bottom". Can you tell me exactly the insert point?
User avatar
Expert Boarder

GK User
Wed Nov 05, 2014 8:38 am
Reply with quote
Report this post
Sadly it looks you have no idea what you are doing so it might lead to all kind of problems. I'll provide you some tips but I strongly recommend to hire a frontend developer for this kind of customisation.

Please edit the file in any editor that is developer friendly (notepad++, sublime etc) - it will show indention which will show exactly where this block ends.
You need to start moving the code from opening <ul> at line 342:
Code: Select all
          <aside class="itemAsideInfo">
              <ul>
                        <?php if($params->get('itemTwitterButton',1) || $params->get('itemFacebookButton',1) || $params->get('itemGooglePlusOneButton',1)): ?>

and finish at closing </ul> at line 433:
Code: Select all
                        <?php endif; ?>
              </ul>
          </aside>


and move it just before closing:
Code: Select all
</article>

at bottom of the file.
User avatar
Moderator

GK User
Wed Nov 05, 2014 4:53 pm
Reply with quote
Report this post
To avoid misunderstoondings, I moved the following piece of script:
<aside class="itemAsideInfo">
<ul>
<?php if($params->get('itemTwitterButton',1) || $params->get('itemFacebookButton',1) || $params->get('itemGooglePlusOneButton',1)): ?>
........................
...................................
....................................
<?php endif; ?>
</ul>
</aside>

Before the </article> tag at the bottom.
Is that correct?

Because nothing changed. Buttons have the same positions they get before with css update suggested by you in this thread:
https://www.gavick.com/forums/news2-joo ... 39555.html

Have a look at the result here:
http://www.casino-online.bz/casino-aams ... ay-experts

Buttons are under tag and under items in this category in a strange format, not under the text of the article.
User avatar
Expert Boarder

GK User
Wed Nov 05, 2014 5:21 pm
Reply with quote
Report this post
Perhaps you are having some cache issues, I see the social items under the article not aside.
Also, I would leave:
Code: Select all
<aside class="itemAsideInfo">

and closing:
Code: Select all
</aside>

in their original place and only move starting from <ul> and ending at </ul>
User avatar
Moderator

GK User
Wed Nov 05, 2014 5:46 pm
Reply with quote
Report this post
I kept <aside> where you said and moved only <ul> ....</ul>. Situation is a little better, but buttons are at the end of the page as last thing and not after the k2 item article text.
This is the structure:
Article text
TAGS
Related items
Last articles
Social buttons.


If you go here www.casino-online.bz/casino-aams/k2/k2-item
do you see this like me?
gavick-social-buttons.jpg


Social buttons unable to see because they are more deep.
User avatar
Expert Boarder

GK User
Wed Nov 05, 2014 5:58 pm
Reply with quote
Report this post
And where exactly should they show?
User avatar
Moderator

GK User
Wed Nov 05, 2014 6:13 pm
Reply with quote
Report this post
After the last row of article text and before TAGS. It should be the first thing after the k2 article text. Like in this image I created:
gavick-social-buttons2.jpg

Of course I need them horizontal like in the image atatched and not in a column.
Is that possible?
User avatar
Expert Boarder

GK User
Wed Nov 05, 2014 6:23 pm
Reply with quote
Report this post
The redesign thing is up to you - it is a lot of work to do and we do not support that kind of changes.
User avatar
Moderator

GK User
Wed Nov 05, 2014 11:36 pm
Reply with quote
Report this post
There is no redesign need.
There is no need to hire a developer.
There is no need to edit php files.
There is no need to pay 60 USD for JFBConnect.

All you have to do is download and install this free plugin:
http://bowthemes.com/joomla-extensions/ ... lugin.html

and then set where you want the social buttons: up, right, left, bottom,....

Glad to help other webmasters.
User avatar
Expert Boarder

GK User
Thu Nov 06, 2014 8:19 pm
Reply with quote
Report this post
I haven't written anywhere that you cant't use 3rd party extensions. You were asking about the solution in provided link and I have provided it to you ;)
I'm glad you could find a solution that fits your taste.
Also - thanks for sharing the solution that helped you.
User avatar
Moderator


cron