default.php remove wrong google+ link
Premium sports magazine Joomla template with clean, easy to customize and unique design.
- GK User
- Tue Sep 30, 2014 9:41 am
Hi
i'm trying to remove/change the wrong link to google+ in the default.php file under ../templates/gk_league_news/layouts :
First i've change the permission file in order to operate on it.. then i've tried to change/remove the google+ ID
Any change i've made was a little bit.. unsuccessful.
Any tips?
Thanks
Beppe
i'm trying to remove/change the wrong link to google+ in the default.php file under ../templates/gk_league_news/layouts :
- Code: Select all
<!DOCTYPE html>
<html lang="<?php echo $this->APITPL->language; ?>">
<head>
<a href="https://plus.google.com/[b]111335499197263258235[/b]" rel="publisher">Google+</a>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-xxxxxxxx, 'auto');
ga('send', 'pageview');
</script>
First i've change the permission file in order to operate on it.. then i've tried to change/remove the google+ ID
Any change i've made was a little bit.. unsuccessful.
Any tips?
Thanks
Beppe
-

- Fresh Boarder
- GK User
- Tue Sep 30, 2014 3:40 pm
Hi.
If I was on your place, I would do this:
1) Take your local copy of template package, unzip
2) Find : gk_league_news\layouts\blocks\social.php
3) Open it your HTML editor (PC/Mac), for example Notepadd+
4) Find line which starts from
delete whole this G+ section, save changes
5) Using FTP upload changed file
easy.no stress.
If I was on your place, I would do this:
1) Take your local copy of template package, unzip
2) Find : gk_league_news\layouts\blocks\social.php
3) Open it your HTML editor (PC/Mac), for example Notepadd+
4) Find line which starts from
- Code: Select all
<?php if(($this->API->get('google_plus', '1').....
delete whole this G+ section, save changes
5) Using FTP upload changed file
easy.no stress.
-

- Platinum Boarder
- GK User
- Wed Oct 01, 2014 12:47 pm
Tx Oscar
I've located with FireBug the position of my problem
Made the change in local file : ..\gk_league_news_quickstart_J30\templates\gk_league_news\layouts\default.php , deleted code line
, via FTP uploaded new default.php & finally Google+ link disapper.
I've located with FireBug the position of my problem
Made the change in local file : ..\gk_league_news_quickstart_J30\templates\gk_league_news\layouts\default.php , deleted code line
< href="https://plus.google.com/111335499197263258235" rel="publisher">Google+</a>
, via FTP uploaded new default.php & finally Google+ link disapper.

-

- Fresh Boarder
3 posts
• Page 1 of 1
