GKNEWS window.print - need to remove links.

Feel free to talk about everything related to our Joomla Products
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Fri Jun 19, 2015 3:55 pm
Dear Gavick :

Hi I really need help, I instaled GKNEWS and it works very ok , but when I need to print the default window looks very fine, when I press the print button in the default window:print it appear the url links in the prewiev.

I need to print this http://www.sanbernardo.cl/programas/index.php/categoria-carpetas-dideco/102-asistencia-social/323-dpto-de-asistencia-social

I send private message with use an admin joomla.

or please tell have to change a code ? where ?

thanks ! for assistance =)
good evening
User avatar
Senior Boarder

GK User
Mon Jun 22, 2015 7:33 am
I'm having problem understanding - you want to remove entire table or just underlines on text inside of the table?
User avatar
Moderator

GK User
Sat Jun 27, 2015 10:50 pm
Dear Gravickpro:

I need to remove only the underlines on text inside of the table. Do I have to make any change in code folders ' where?
thanks for awnser this is very important for the website .. =)
User avatar
Senior Boarder

GK User
Sun Jun 28, 2015 7:55 pm
Please add:
Code: Select all
a { text-decoration: none; }

to print.css inside template/css folder.
User avatar
Moderator

GK User
Fri Jul 03, 2015 4:08 am
Dear Gravickpro:

Where do I have to insert the code in print.css specifically.

thanks !!
User avatar
Senior Boarder

GK User
Mon Jul 06, 2015 6:53 pm
For example as a last line.
User avatar
Moderator

GK User
Thu Jul 09, 2015 2:37 pm
Cyberek:

I add thhe code but still the same, please any othrer way ?

Thanks !!
User avatar
Senior Boarder

GK User
Thu Jul 09, 2015 5:31 pm
Please verify the file, it gives me 404:
http://www.sanbernardo.cl/programas/tem ... /print.css
User avatar
Moderator

GK User
Sun Jul 12, 2015 1:04 am
Cyberek:

Hi this is the link, it is in the (system) foler ..

http://www.sanbernardo.cl/programas/tem ... /print.css

many thanks !!
User avatar
Senior Boarder

GK User
Mon Jul 13, 2015 7:00 am
You are editing wrong file ;) - one provided by me is correct.
User avatar
Moderator

GK User
Mon Jul 13, 2015 5:22 pm
Cyberek:
Hi! in component.php it calls

template; ?>/css/system/print.css"

I load it in http://www.sanbernardo.cl/programas/tem ... /print.css , but still with the links in print.

Maybe is a code of joomla or of tables css. it put the same in a simple html and it print without links ..

https://www.sanbernardo.cl/programas/te ... ws/111.htm

please help ! =) many tnks !
User avatar
Senior Boarder

GK User
Mon Jul 13, 2015 7:20 pm
From what I see you have added:
Code: Select all
a {
   text-decoration: none;
   color: #000;
   border-bottom: 1px dotted #000;
}

to print.css file - and this code is causing dotted underline.
User avatar
Moderator

GK User
Thu Jul 16, 2015 7:23 am
Thanks ! I erase that code an the dotted underline dessapears, after I add two codes for erase the urllinks in print window, and it works but now the dotted underline comes again .. please see the print preview

https://www.sanbernardo.cl/programas/in ... Itemid=210

THANKS !!

The code I add for erase the url links in window print .. css/system/print.css

@media print {
.noprint {display:none !important;}
a:link:after, a:visited:after {
display: none;
content: "";
}
}
<style type="text/css" media="print">
@page
{
size: auto; /* auto is the initial value */
margin: 0mm; /* this affects the margin in the printer settings */
}
a:link:after, a:visited:after {
content: "";
}
User avatar
Senior Boarder

GK User
Sat Jul 18, 2015 2:04 pm
Hello,

Please replace the mentioned code with:

Code: Select all
@media print {
    .noprint {display:none !important;}
    a:link:after, a:visited:after { 
      display: none;
      content: "";   
    }
}
a { text-decoration: none!important; border-bottom: none!important; }
a:before, a:after { display: none!important; }
User avatar
Administrator

GK User
Tue Jul 21, 2015 3:44 am
Really this works! Many Many Many thanks !!!! =D good summer time !!
User avatar
Senior Boarder


cron