Modify printer-friendly news page template? [solved]

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
byset

Modify printer-friendly news page template? [solved]

Post 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
Last edited by byset on Sun Jun 01, 2008 11:59 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Modify printer-friendly news page template?

Post by Dr.CSS »

It is in the module, /modules/News/templates/ articleprint.tpl ...
byset

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

Post by byset »

Thank you! That solves it.
User avatar
Lucaz
Forum Members
Forum Members
Posts: 66
Joined: Fri Dec 01, 2006 9:56 pm

Re: Modify printer-friendly news page template?

Post 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
Locked

Return to “CMSMS Core”