Move Social API

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
Sat Apr 19, 2014 4:10 am
Reply with quote
Report this post
Hi!

Can I know how to move Social API to underneath the articles(like other Gavik Templates) rather than above articles

https://docs.google.com/file/d/0B5K2lySm1GVPN0RYcWU5WHlRS1U/edit?usp=drivesdk

btw how can remove Account Details left to the Log0

https://docs.google.com/file/d/0B5K2lySm1GVPM2M2S29lekloeHc/edit?usp=drivesdk

Cheers,
Anirudh
User avatar
Senior Boarder

GK User
Sat Apr 19, 2014 7:49 am
Reply with quote
Report this post
Hi,
about "Welcome...check your account"
you want to remove it completely ?

This labels are from language file (TPL_GK_LANG_LOGOUT="check your account") but whole script from : templates\gk_instyle\layouts\default.php
User avatar
Platinum Boarder

GK User
Sat Apr 19, 2014 7:54 am
Reply with quote
Report this post
Social icons, this should be easy

1) IN php/html editor open this file: templates\gk_instyle\html\com_content\article\default.php
2) Find "gkSocialAPI"
3) Select whole area
Code: Select all
          <gavern:social><div id="gkSocialAPI"></gavern:social>
            <gavern:social>
               <g:plusone GK_GOOGLE_PLUS_SETTINGS callback="<?php echo $cur_url; ?>"></g:plusone>
            </gavern:social>
            <gavern:social>
               <g:plus action="share" GK_GOOGLE_PLUS_SHARE_SETTINGS href="<?php echo $cur_url; ?>"></g:plus>
            </gavern:social>
            <gavern:social><a href="http://twitter.com/share" class="twitter-share-button" data-text="<?php echo $this->item->title; ?>" data-url="<?php $cur_url; ?>"  gk_tweet_btn_settings>Tweet</a></gavern:social>
            <gavern:social><a href="http://pinterest.com/pin/create/button/?url=<?php echo $cur_url; ?>&amp;media=<?php echo $pin_image; ?>&amp;description=<?php echo str_replace(" ", "%20", $this->item->title); ?>" class="pin-it-button" count-layout="GK_PINTEREST_SETTINGS"><img border="0" src="//assets.pinterest.com/images/PinExt.png" title="<?php echo JText::_('TPL_GK_LANG_PINIT_TITLE'); ?>" /></a></gavern:social>
            <gavern:social><fb:like href="<?php echo $cur_url; ?>" GK_FB_LIKE_SETTINGS></fb:like></gavern:social>
          <gavern:social></div></gavern:social>

cut & move to the bottom of code, where-ever you want
4) Save changes
User avatar
Platinum Boarder

GK User
Mon Apr 21, 2014 12:50 am
Reply with quote
Report this post
I want to completely remove it,Please. I see the code under /layout/default.php but not sure if i will end up fine if I delete code under<div id="gkUserArea">

Pawel F wrote:Hi,
about "Welcome...check your account"
you want to remove it completely ?

This labels are from language file (TPL_GK_LANG_LOGOUT="check your account") but whole script from : templates\gk_instyle\layouts\default.php
User avatar
Senior Boarder

GK User
Tue Apr 22, 2014 2:22 pm
Reply with quote
Report this post
Maybe before you will delete something just use
Code: Select all
#gkUserArea { display:none;}
User avatar
Platinum Boarder


cron