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
CGBlog and article's date behaviour
Re: CGBlog and article's date behaviour
Are you using the expiry thingy..?
Re: CGBlog and article's date behaviour
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
------------------
I'm using:
CMSMS 1.11.10
CGBlog 1.12.1
News 2.14.2
CGExtensions 1.38.7
CGSimpleSmarty 1.7.2
Re: CGBlog and article's date behaviour
Your files and database are probably at different servers.
To change the timezone settings of both add to the config.php:Change content to your setting of course.
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';
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: CGBlog and article's date behaviour
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?
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?