K2 twitter button change text

GK User
Fri Feb 10, 2012 1:35 am
Hi

ive been trying to change the text of the twitter image.
at the moment it is twitternij i believe this is pulled in via k2?
i check in item.php and changed the twitter username in k2 Parameters

the settings for the template from gavicpro only changes the links at the bottom not in the articals

how can i change this??
User avatar
Fresh Boarder

GK User
Fri Feb 10, 2012 2:02 am
Hi

That's nothing to do with gavick social parameters.
It's only from K2.
On language directory did you tried to find this word on en-GB.com_k2.ini ?

I suppose can be translated using K2_TWEET="Tweet" on this file.
User avatar
Platinum Boarder

GK User
Fri Feb 10, 2012 5:06 pm
I had a go at that. it already had tweet.
so im not sure. its still putting in tweetnij even from the quick install file

incidently what code can i put in the "Social button"code box?
User avatar
Fresh Boarder

GK User
Sat Feb 11, 2012 9:43 am
Edit following files and change them as below. Line numbers are from joomla 2.5 version other versions you might find the same codes in different lines depending on template version.

Find File: "\templates\gk_finance_business\layouts\default.php"
Find Line: 44 which is below
Code: Select all
     xml:lang="pl" lang="pl">

Replace with below
Code: Select all
     xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>">


Following edits are same lines in each below files.
Find Files:
Code: Select all
\templates\gk_finance_business\layouts\android.php
\templates\gk_finance_business\layouts\iphone.php
\templates\gk_finance_business\layouts\handheld.php

Find Line: 25 which is below
Code: Select all
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl" lang="pl">

Replace with below
Code: Select all
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>">


See you around...
User avatar
Platinum Boarder

GK User
Mon Feb 13, 2012 1:05 pm
Yup thanks that did the trick
User avatar
Fresh Boarder

GK User
Tue Feb 14, 2012 9:15 am
No problem at all.

See you around...
User avatar
Platinum Boarder


cron