Forums / General Questions / How to hide rel "author" from reviews page?

How to hide rel "author" from reviews page?

Views: 930

Results 1 to 6 of 6
12 Nov 2012, 3:30 PM
#1
perfumbg avatar

perfumbg

Zen Follower

Join Date:
May 2010
Posts:
192
Plugin Contributions:
5

How to hide rel "author" from reviews page?

Hello dear friends,
i have 1 author who write in my site, and I want to show his image on all pages exept on reviews.
How can this be done?

Thanks a lot.

My most recent work: magprom.net

12 Nov 2012, 7:26 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How to hide rel "author" from reviews page?

If you are truly using ZenCart v138a - - You really need to upgrade as there are "known" vulnerabilities in that code

This has been known since approx Jul 2009 - It is Nov 2012 now

Zen-Venom Get Bitten

13 Nov 2012, 7:32 AM
#3
perfumbg avatar

perfumbg

Zen Follower

Join Date:
May 2010
Posts:
192
Plugin Contributions:
5

Re: How to hide rel "author" from reviews page?

This code done it for me for, categories, product_info and manufacturers:

<?php
if ($this_is_home_page) {
echo('<link rel="author" href="https://plus.google.com/u/0/***************"/>'); 
}
elseif ($_GET['manufacturers_id'] > 0) {
    echo ('<link rel="author" href="https://plus.google.com/u/0/*************"/>');
	}
elseif ($_GET['cPath'] > 0) {
    echo ('<link rel="author" href="https://plus.google.com/u/0/*************"/>');
	}	
?>

Yes I use 1.38a , but I dont Like some features in v1.50 , especialy 15 minutes time out in admin section. Other thing is that my templates are hard coded, and it will take a lot of time and efort to upgrade everything.

Thanks a lot

My most recent work: magprom.net

13 Nov 2012, 7:42 AM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How to hide rel "author" from reviews page?

it will take a lot of time and efort to upgrade everything
How much time & lost sales will you experience if you are hacked??

Zen-Venom Get Bitten

29 Nov 2012, 12:29 PM
#5
perfumbg avatar

perfumbg

Zen Follower

Join Date:
May 2010
Posts:
192
Plugin Contributions:
5

Re: How to hide rel "author" from reviews page?

Maybe more :), soon i'll fix everything

My most recent work: magprom.net

29 Nov 2012, 5:37 PM
#6
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: How to hide rel "author" from reviews page?

If your templates are hard-coded, presumably in /classic/ folders or core files, make copies of all files you have changed from stock (do a winmerge compare against a fresh set of v1.3.8a files) and put those files in new /your_custom_template/ folders according to the template override system. Then upgrading will become a much easier task, depending on how many functional mods you have that might need to be replaced with v1.5.1-compatible versions.