Erase logo from print view

Winter sport ecommerce template for Joomla with VirtueMart support
GK User
Thu Feb 07, 2013 4:55 pm
Hi!

I would like to erase the logo showed in product details print view, but I cannot found where to change the code.

Could you help me please?

Thanks in advance!
User avatar
Expert Boarder

GK User
Thu Feb 07, 2013 4:57 pm
I tried to attach an image, but it doesn't work...
User avatar
Expert Boarder

GK User
Fri Feb 08, 2013 4:43 pm
any idea?
User avatar
Expert Boarder

teitbite
Sat Feb 09, 2013 1:57 pm
Hi

Pleas show me an example of a page this element is visible and point me to it.
User avatar
Moderator

GK User
Sat Feb 09, 2013 4:26 pm
Here the page: http://calyform.com/vm-buscar/proteina- ... nt&print=1

I deleted the image /templates/gk_esport/images/print_logo.png but now I have this one in top left corner

(I cannot attach an image to the post...)

Thanks in advance!
User avatar
Expert Boarder

teitbite
Mon Feb 11, 2013 1:05 pm
Hi

I think this can only be solved by hidding this icon via php condittion in /html/com_virtuemart/productdetails/default.php

Search for a line:

Code: Select all
       echo $this->linkIcon($link . '&print=1', 'COM_VIRTUEMART_PRINT', 'printButton', 'show_printicon');


and replace it with

Code: Select all
if($_GET['tmpl'] == 'component') :
       echo $this->linkIcon($link . '&print=1', 'COM_VIRTUEMART_PRINT', 'printButton', 'show_printicon');
endif;
User avatar
Moderator

GK User
Mon Feb 11, 2013 3:49 pm
OK!
Thanks!! :)
User avatar
Expert Boarder


cron