Problem with news/cgblog dates in urls
Posted: Thu Feb 24, 2011 10:54 am
Hey, I recently installed CMSMS and am running into issues with the dates in the urls for both the built-in news module, and the cgblog module.
Here's what's happening:
/cmsms/news/1/63/News-Module-Installed/
1 = the apparent id of the news or blog post, increments as more are added
63 =
not a clue (or some variation of a number in the 60's)
In theory it should be set up so that it goes year/month/title.
I was thinking it might be an issue with the CGBlog module. There's a setting for URL template which is originally: {$postdate|cms_date_format:\'%Y\'}/{$postdate|cms_date_format:\'%m\'}/{$title}
which is what I want, a 4 digit year and a 2 digit month preceding the title. Altering this field has no effect at all though, and since the issue is also happening in the news module....
Note that the other dates inside the posts are all correct. Any ideas?
Things that may be relevant:
CMSMS 1.9.3
News 2.11.1
CGBlog 1.7.1
PHP 5.2.9 running on Linux/Apache
I used Softalicious to install cmsms, which apparently doesn't set up the pretty_urls thing automatically, so I had to do that manually as per the instructions (somewhere). I remember altering the .htaccess file and whatever else it told me to, so I can post those if needed.
Thanks
Here's what's happening:
/cmsms/news/1/63/News-Module-Installed/
1 = the apparent id of the news or blog post, increments as more are added
63 =

In theory it should be set up so that it goes year/month/title.
I was thinking it might be an issue with the CGBlog module. There's a setting for URL template which is originally: {$postdate|cms_date_format:\'%Y\'}/{$postdate|cms_date_format:\'%m\'}/{$title}
which is what I want, a 4 digit year and a 2 digit month preceding the title. Altering this field has no effect at all though, and since the issue is also happening in the news module....
Note that the other dates inside the posts are all correct. Any ideas?
Things that may be relevant:
CMSMS 1.9.3
News 2.11.1
CGBlog 1.7.1
PHP 5.2.9 running on Linux/Apache
I used Softalicious to install cmsms, which apparently doesn't set up the pretty_urls thing automatically, so I had to do that manually as per the instructions (somewhere). I remember altering the .htaccess file and whatever else it told me to, so I can post those if needed.
Thanks