Page 1 of 1
Problems with calendar navigation links
Posted: Sun May 28, 2006 7:58 pm
by prefab
I installed calendar stable and from svn on cmsms 0.13 and got it to work except the navigation links. The problem seems to be that calendar is using different urls from cmsms. For example if the page with calendar is
/index.php/somepage
the url for next month ( june ) is
/index.php/somepage&m4year=2006&m4month=6
this returns an error 404 - page not found error. I checked some sites referenced in this forum and figured that the url should be
/index.php?page=somepage&m4year=2006&m4month=6
Is there a way to configure calendar to use the proper urls?
Cheers
Re: Problems with calendar navigation links
Posted: Sun May 28, 2006 8:24 pm
by Elijah Lofgren
prefab wrote:
I installed calendar stable and from svn on cmsms 0.13 and got it to work except the navigation links. The problem seems to be that calendar is using different urls from cmsms. For example if the page with calendar is
/index.php/somepage
the url for next month ( june ) is
/index.php/somepage&m4year=2006&m4month=6
this returns an error 404 - page not found error. I checked some sites referenced in this forum and figured that the url should be
/index.php?page=somepage&m4year=2006&m4month=6
Actually if $config['internal_pretty_urls'] = true; is set in config.php then the URL should be:
/index.php/somepage?m4year=2006&m4month=6
prefab wrote:
Is there a way to configure calendar to use the proper urls?
It looks like someone already file a bug on this problem:
http://dev.cmsmadesimple.org/tracker/in ... 0&atid=157
I doubt it would be too hard to fix. Maybe I'll submit a patch to Calendar to fix this sometime (probably not today though, I'm pretty busy)
A workaround would probably be to set this in config.php
Code: Select all
$config['internal_pretty_urls'] = false;
That will make your page URLs be like /index.php?page=somepage instead of /index.php/somepage, but it should fix the Calendar link problem.
Re: Problems with calendar navigation links
Posted: Sun May 28, 2006 8:41 pm
by Dr.CSS
what about the << link jumping on clik and not doing anything till second clik?....
mark
Re: Problems with calendar navigation links
Posted: Sun May 28, 2006 9:12 pm
by prefab
Elijah Lofgren wrote:
Actually if $config['internal_pretty_urls'] = true; is set in config.php then the URL should be:
/index.php/somepage?m4year=2006&m4month=6
Yes $config['internal_pretty_urls'] = true; is set in config.php, but I think calendar wants to pass its parameters to index.php in
/index.php?page=somepage and the "?" is already there, so it simply appends "&m4year=2006&m4month=6" to "page=somepage".
I keep forgetting to look in the tracker.
Elijah Lofgren wrote:
I doubt it would be too hard to fix. Maybe I'll submit a patch to Calendar to fix this sometime (probably not today though, I'm pretty busy)
That would be great.
Elijah Lofgren wrote:
A workaround would probably be to set this in config.php
Code: Select all
$config['internal_pretty_urls'] = false;
That will make your page URLs be like /index.php?page=somepage instead of /index.php/somepage, but it should fix the Calendar link problem.
Thanks, I'll try that. Any known side-effects?
Cheers
Re: Problems with calendar navigation links
Posted: Sun May 28, 2006 9:19 pm
by Elijah Lofgren
prefab wrote:
Elijah Lofgren wrote:
A workaround would probably be to set this in config.php
Code: Select all
$config['internal_pretty_urls'] = false;
That will make your page URLs be like /index.php?page=somepage instead of /index.php/somepage, but it should fix the Calendar link problem.
Thanks, I'll try that. Any known side-effects?
No, just the URLs for your pages won't look as "clean".
mark wrote:
what about the << link jumping on clik and not doing anything till second clik?....
No idea. I actually don't use the Calendar module (yet at least).
I would post a bug report here:
http://dev.cmsmadesimple.org/tracker/?a ... unc=browse
Re: Problems with calendar navigation links
Posted: Thu Aug 24, 2006 4:48 pm
by calguy1000
I'm working on calendar now.... in list mode {cms_module module=Calendar display=list} which displays the events for the current month (there's nothing for the current day, I'll have to add that).
either way, the prev/next links work fine for me.
Re: Problems with calendar navigation links
Posted: Tue Aug 29, 2006 8:39 pm
by conti
Elijah Lofgren wrote:
prefab wrote:
Elijah Lofgren wrote:
A workaround would probably be to set this in config.php
Code: Select all
$config['internal_pretty_urls'] = false;
That will make your page URLs be like /index.php?page=somepage instead of /index.php/somepage, but it should fix the Calendar link problem.
Thanks, I'll try that. Any known side-effects?
No, just the URLs for your pages won't look as "clean".
Because I have the same problem, I would be interested if the URL issue is fixed now. I setted up
Code: Select all
$config['internal_pretty_urls'] = false;
but nothing changed. I deleted the cache too without succes.
I'm using cmsms 0.13 with Calendar 0.7.
Thanks for your help.
Re: Problems with calendar navigation links
Posted: Sun Sep 03, 2006 11:24 am
by djkirstyjay
I'm having the same problem. I click the > either side of the month and get a 404 error.
CMS 0.13 & Calendar 0.7.
Re: Problems with calendar navigation links
Posted: Fri Sep 08, 2006 11:01 am
by Kaylen
I downloaded and installed the latest svn version of calendar and I have the same problem.
When clicking > I get a 404 error.
The URL that cant be found looks like this:
http://www.asystolie.nl/index.php/cursu ... m4month=10
I have cms 0.13 and calendar 7 stable
Is there a fix?
thnx!
Re: Problems with calendar navigation links
Posted: Fri Sep 08, 2006 11:47 am
by Kaylen
jup that helped
thnx very much!