1
gmeneu
Bug with news module
  • 2003/10/16 14:23

  • gmeneu

  • Just popping in

  • Posts: 2

  • Since: 2003/10/16


Hi there,

Here is the problem: in the news editor, I can choose the date of publication. What is perfect for me.
This old date is displayed on the front page, but when I click to read the entire article, it displays the date I really published the article, not the date I told him to display. Something to correct this?

You can see an exemple at my web site: http://www.gourmetgalopin.com (french!)

Thanks!

Gildas

2
ackbarr
Re: Bug with news module

Change the following in /modules/news/article.php

~line 59 (version 2.0.5)
$story['posttime'] = formatTimestamp($article->created());

to:
$story['posttime'] = formatTimestamp($article->published());


Wash, Rinse, Repeat...

3
gmeneu
Re: Bug with news module
  • 2003/10/17 1:10

  • gmeneu

  • Just popping in

  • Posts: 2

  • Since: 2003/10/16


Great great thanks ! It worked!

Gildas Meneu

Login

Who's Online

219 user(s) are online (146 user(s) are browsing Support Forums)


Members: 0


Guests: 219


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