1
baiki
News module - print article - need variable
  • 2007/7/16 10:56

  • baiki

  • Just popping in

  • Posts: 12

  • Since: 2005/1/14


Dear Xoopers,

Hopefully you voted already

My question: In the news module it is possible to click on print and get a printer friendly page. But I am missing the author's name (especially on the print out)! I figured that this file is responsible:

/modules/news/print.php

Well so far so good, but which variable do I have to use to print the author's name (or publisher's name)? I am totally desperate meanwhile because I tried at least 30 combinations of those variables but NONE show me the author's name on the printer friendly page. I really need some help now.

Thanks a lot.

Baiki

2
ewonline
Re: News module - print article - need variable
  • 2007/7/27 19:11

  • ewonline

  • Not too shy to talk

  • Posts: 198

  • Since: 2004/11/17


The variable is: $story->uname()
Resized Image

3
baiki
Re: News module - print article - need variable
  • 2007/8/8 13:25

  • baiki

  • Just popping in

  • Posts: 12

  • Since: 2005/1/14


Outstanding! Wow!

Thank you so much 'ewonline'! It works like a charm.

By the way, do you have experience with this PDF on-the-fly generation? There are some bugs inside!

Cheers,
Baiki

Quote:

ewonline wrote:
The variable is: $story->uname()

Login

Who's Online

325 user(s) are online (268 user(s) are browsing Support Forums)


Members: 0


Guests: 325


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits