Page 1 of 1

Modify printer-friendly news page template? [solved]

Posted: Sun Jun 01, 2008 7:38 pm
by byset
Hi, I have a question regarding printer-friendly pages from news.  I have "{$entry->printlink}" in the detail template which sends you to a printable page. 

So there is a "print" link that gives you a page where it lists the following in pre-formatted text--

Code: Select all

Categories: PJ
      Date: 05/29/08 16:15:52
     Title: News Article 1
and then the rest as unstyled text.

I'd like to modify this, so as to add the title as an h2, remove reference to category, etc. But i can't figure out how to modify the print template for news pages. I can't even tell if it's generated through the printing module or the news module. Any ideas?

It's not getting it from content > printing > print template. That seems to be something else.

Thanks in advance!

Mark

Re: Modify printer-friendly news page template?

Posted: Sun Jun 01, 2008 9:56 pm
by Dr.CSS
It is in the module, /modules/News/templates/ articleprint.tpl ...

Re: Modify printer-friendly news page template? [solved]

Posted: Mon Jun 02, 2008 12:00 am
by byset
Thank you! That solves it.

Re: Modify printer-friendly news page template?

Posted: Wed Jun 03, 2009 9:34 am
by Lucaz
mark wrote: It is in the module, /modules/News/templates/ articleprint.tpl ...
Great that is what I was looking for.

Funny how you search for a solution, when you want to give up, you find it in the last post you wanted to open.

Even more funny no one else looked for this solution.

Thanks