Social API Tweet

Professional Business Joomla template for corporate and business websites suitable for showing stock quotes, up to date news, portfolio management resources or international market data.
GK User
Sat May 19, 2012 10:47 pm
Hi folks, first of all I need to tell that I'm very happy with the template. In first moment I had lot of problems to put it to work, but with help of my server support I looks like everything is working (except K2, but this is other problem)

I want to know how to change the name "Tweetnij" for "Tweet".

Thank you
User avatar
Fresh Boarder

GK User
Sun May 20, 2012 2:14 am
Other doubt is how can I put the buttons of social API's in the begin of the article instead of in the end?
User avatar
Fresh Boarder

GK User
Mon May 21, 2012 9:12 pm
up
User avatar
Fresh Boarder

GK User
Tue May 22, 2012 3:16 pm
I do not want to be boring, but is this forum suposed to be customer support?

Where is support? This issue has been solved (without any support, so it taked time to find where was the code).

The solution to help other that want to do the same thing:

This part of code in templates/gk_finance_business/html/com_content/article/default.php

Code: Select all
<gavern:social><div id="gkSocialAPI"></gavern:social>
          <gavern:social><fb:like href="<?php echo $cur_url; ?>" GK_FB_LIKE_SETTINGS></fb:like></gavern:social>
        <gavern:social><g:plusone GK_GOOGLE_PLUS_SETTINGS callback="<?php echo $cur_url; ?>"></g:plusone></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 class="DiggThisButton GK_DIGG_SETTINGS" href="<?php echo $cur_url; ?>"></a></gavern:social>
          <gavern:social><a href="http://www.delicious.com/save" onclick="window.open('http://www.delicious.com/save?v=5&noui&amp;jump=close&amp;url='+encodeURIComponent(location.href)+'&amp;title='+encodeURIComponent(document.title), 'delicious','toolbar=no,width=550,height=550'); return false;" class="deliciousBtn" title="<?php echo JText::_('TPL_GK_LANG_DELICIOUS_TITLE'); ?>"></a></gavern:social>
          <gavern:social><a href="http://www.instapaper.com/hello2?url=<?php echo urlencode($cur_url); ?>&amp;title=<?php echo urlencode($this->item->title); ?>" class="instapaperBtn" title="<?php echo JText::_('TPL_GK_LANG_INSTAPAPER_TITLE'); ?>"></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 $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><div class="clr"></div></div></gavern:social>
</div>
</gavern:desktop>


I have cutted this part of the code and pasted in the line I wanted it to stay, in my case, afeter this part of the code:

Code: Select all
<?php if ($params->get('show_hits')) : ?>
      <dd class="hits">
      <?php echo JText::sprintf('COM_CONTENT_ARTICLE_HITS', $this->item->hits); ?>
      </dd>
<?php endif; ?>
<?php if ($useDefList) : ?>
 </dl>
<?php endif; ?>
</div>


To solve the language issue I added to:

Code: Select all
 <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>


data-lang="pt"

Code: Select all
<gavern:social><a href="http://twitter.com/share" class="twitter-share-button" data-text="<?php echo $this->item->title; ?>" data-url="<?php $cur_url; ?>" data-lang="pt" gk_tweet_btn_settings>Tweet</a></gavern:social>


Once more, thank's to the support for nothing.
User avatar
Fresh Boarder

GK User
Mon Dec 10, 2012 7:07 pm
Cheers,
Got this fixed thanks to above post!
User avatar
Junior Boarder

GK User
Fri Jan 18, 2013 1:45 am
jeffersonpm wrote:Hi folks, first of all I need to tell that I'm very happy with the template. In first moment I had lot of problems to put it to work, but with help of my server support I looks like everything is working (except K2, but this is other problem)

I want to know how to change the name "Tweetnij" for "Tweet".

Thank you


Did you get this issue sorted? If not let me know and I will post the solution :)
User avatar
Junior Boarder


cron