CGBlog and article's date behaviour

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
nervino
Power Poster
Power Poster
Posts: 448
Joined: Sun Dec 28, 2008 12:15 pm
Location: Roma, Italy

CGBlog and article's date behaviour

Post by nervino »

Hi, I generally use CGBlog to manage news due to its enhanced features like multiple categories etc. but I've noticed that if you set an article's date in the future, the article is not shown in the summary view. News module acts in a different way: if you set a date in the future the article is shown and you can use the "postdate" variable in your templates.
Is there a way to force CGBlog to have the same beahviour as News?

Thank you
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: CGBlog and article's date behaviour

Post by Dr.CSS »

Are you using the expiry thingy..?
nervino
Power Poster
Power Poster
Posts: 448
Joined: Sun Dec 28, 2008 12:15 pm
Location: Roma, Italy

Re: CGBlog and article's date behaviour

Post by nervino »

No, that checkbox is not checked.

------------------
I'm using:
CMSMS 1.11.10
CGBlog 1.12.1
News 2.14.2
CGExtensions 1.38.7
CGSimpleSmarty 1.7.2
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: CGBlog and article's date behaviour

Post by Rolf »

Your files and database are probably at different servers.
To change the timezone settings of both add to the config.php:

Code: Select all

$config['timezone'] = 'Europe/Amsterdam';
$config['set_db_timezone'] = 'Europe/Amsterdam';
Change content to your setting of course.
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
nervino
Power Poster
Power Poster
Posts: 448
Joined: Sun Dec 28, 2008 12:15 pm
Location: Roma, Italy

Re: CGBlog and article's date behaviour

Post by nervino »

Hi Rolf, I'm testing on a vmware image with ubuntu server, hence the filesystem and db have the same locale.

Do you experience a different behaviour?
If the publication date of the article is set in the future, you can see the article in frontend?
Post Reply

Return to “Modules/Add-Ons”