Past Dating News Release in OLD (v1.02) Version of Coranto

Is Coranto not working properly for you? Here's where to ask for support help; for best results, follow these steps:
  • - Check your core/addon documentation for possible solutions
  • - Search these forums for similar problems that have already been solved
  • - If you're still stumped, check out THIS TOPIC, and post your question in this forum!!

Moderators: Spunkmeyer, Dale Ray, SrNupsen, Bluetooth, Jackanape

Past Dating News Release in OLD (v1.02) Version of Coranto

Postby steph65101 » Wed Jul 11, 2007 7:59 pm

I know this is sad, but I got this working and never upgraded! I am on version 1.02 and using Maginot build 6. This has never happened, but I just got the request to post 1 news release with a past date of June 26, 2007.

My question is, can I manually change the date? I can change the static news release page, and the news.txt file which pulls in my headlines, but will the date change in the system? And retain my changes for next time the news builds? I don't see the date in the newsdat.txt file, as far I can tell, that is.

Any suggestions? Any help would be appreciated!

Thanks!
steph65101
 
Posts: 4
Joined: Tue Apr 01, 2003 8:14 pm
Location: Missouri

Postby SrNupsen » Wed Jul 11, 2007 9:10 pm

The ONLY place you could change the date manually (and have it stay that while even after a "build news") is newsdat.txt, as this is the news database, the "mother of all news". If you change it in news.txt or in any of your generated pages, it will revert the first time you build news.

However, fiddling inside newsdat.txt is NOT recommended unless you DO A BACKUP FIRST!

The reason you don't see the time inside newsdat.txt, is that it is stored in Unix time. That is, seconds since 01.01.1970. You'll need to google up a tool to convert the date you want to unix time, and then insert it into newsdat.txt (above all, be careful not to break any lines inside newsdat.txt - each news item should be on its separate line)

However, if you need to do this on a regular basis, there's the addon called
ChangeDateNew - more info is available here.
-----------------------------------------------------------------------------------------------------
Coranto is free software. I am available for custom work or troubleshooting.

http://www.sundaune.no - transkripsjon, webdesign, nettsider, tekstbyrå
http://www.vagbladet.no - satire, politikk, kultur, sport, nettavis
-----------------------------------------------------------------------------------------------------
SrNupsen
 
Posts: 2229
Joined: Tue Jan 09, 2007 6:46 pm
Location: Nesodden, outside Oslo, Norway

Postby steph65101 » Thu Jul 12, 2007 2:01 pm

Thank you very much, this worked like a charm!

I found a handy converter here: http://www.onlineconversion.com/unix_time.htm

Thanks for your time and expertise!!
steph65101
 
Posts: 4
Joined: Tue Apr 01, 2003 8:14 pm
Location: Missouri

Postby SrNupsen » Thu Jul 12, 2007 4:56 pm

No problem - come again if you run into anything else :)
-----------------------------------------------------------------------------------------------------
Coranto is free software. I am available for custom work or troubleshooting.

http://www.sundaune.no - transkripsjon, webdesign, nettsider, tekstbyrå
http://www.vagbladet.no - satire, politikk, kultur, sport, nettavis
-----------------------------------------------------------------------------------------------------
SrNupsen
 
Posts: 2229
Joined: Tue Jan 09, 2007 6:46 pm
Location: Nesodden, outside Oslo, Norway


Return to Troubleshooting

Who is online

Users browsing this forum: Google [Bot] and 2 guests

cron