Problems with calendar navigation links
Problems with calendar navigation links
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
/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
- Elijah Lofgren
- Power Poster
- Posts: 811
- Joined: Mon Apr 24, 2006 1:01 am
- Location: Deatsville, AL
Re: Problems with calendar navigation links
Actually if $config['internal_pretty_urls'] = true; is set in config.php then the URL should be: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
/index.php/somepage?m4year=2006&m4month=6
It looks like someone already file a bug on this problem: http://dev.cmsmadesimple.org/tracker/in ... 0&atid=157prefab wrote: Is there a way to configure calendar to use the proper urls?
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;
Last edited by Anonymous on Sun May 28, 2006 8:26 pm, edited 1 time in total.
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. 

Re: Problems with calendar navigation links
what about the << link jumping on clik and not doing anything till second clik?....
mark
mark
Re: Problems with calendar navigation links
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".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
I keep forgetting to look in the tracker.Elijah Lofgren wrote: It looks like someone already file a bug on this problem: http://dev.cmsmadesimple.org/tracker/in ... 0&atid=157

That would be great.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)

Thanks, I'll try that. Any known side-effects?Elijah Lofgren wrote: A workaround would probably be to set this in config.phpThat will make your page URLs be like /index.php?page=somepage instead of /index.php/somepage, but it should fix the Calendar link problem.Code: Select all
$config['internal_pretty_urls'] = false;
Cheers
- Elijah Lofgren
- Power Poster
- Posts: 811
- Joined: Mon Apr 24, 2006 1:01 am
- Location: Deatsville, AL
Re: Problems with calendar navigation links
No, just the URLs for your pages won't look as "clean".prefab wrote:Thanks, I'll try that. Any known side-effects?Elijah Lofgren wrote: A workaround would probably be to set this in config.phpThat will make your page URLs be like /index.php?page=somepage instead of /index.php/somepage, but it should fix the Calendar link problem.Code: Select all
$config['internal_pretty_urls'] = false;
No idea. I actually don't use the Calendar module (yet at least).mark wrote: what about the << link jumping on clik and not doing anything till second clik?....
I would post a bug report here: http://dev.cmsmadesimple.org/tracker/?a ... unc=browse
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. 

-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: Problems with calendar navigation links
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.
either way, the prev/next links work fine for me.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: Problems with calendar navigation links
Because I have the same problem, I would be interested if the URL issue is fixed now. I setted upElijah Lofgren wrote:No, just the URLs for your pages won't look as "clean".prefab wrote:Thanks, I'll try that. Any known side-effects?Elijah Lofgren wrote: A workaround would probably be to set this in config.phpThat will make your page URLs be like /index.php?page=somepage instead of /index.php/somepage, but it should fix the Calendar link problem.Code: Select all
$config['internal_pretty_urls'] = false;
Code: Select all
$config['internal_pretty_urls'] = false;
I'm using cmsms 0.13 with Calendar 0.7.
Thanks for your help.
Last edited by conti on Wed Aug 30, 2006 7:22 am, edited 1 time in total.
-
- Forum Members
- Posts: 206
- Joined: Tue Oct 25, 2005 4:50 pm
Re: Problems with calendar navigation links
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.
CMS 0.13 & Calendar 0.7.
Re: Problems with calendar navigation links
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!
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
jup that helped 
thnx very much!

thnx very much!