Problems with calendar navigation links

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
prefab

Problems with calendar navigation links

Post 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
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am
Location: Deatsville, AL

Re: Problems with calendar navigation links

Post 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.
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. :)
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Problems with calendar navigation links

Post by Dr.CSS »

what about the << link jumping on clik and not doing anything till second clik?....

  mark
prefab

Re: Problems with calendar navigation links

Post 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".

Elijah Lofgren wrote: It looks like someone already file a bug on this problem: http://dev.cmsmadesimple.org/tracker/in ... 0&atid=157
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. :D
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
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am
Location: Deatsville, AL

Re: Problems with calendar navigation links

Post 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
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. :)
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: Problems with calendar navigation links

Post 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.
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.
conti
Forum Members
Forum Members
Posts: 73
Joined: Tue Aug 22, 2006 7:41 pm

Re: Problems with calendar navigation links

Post 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.
Last edited by conti on Wed Aug 30, 2006 7:22 am, edited 1 time in total.
djkirstyjay
Forum Members
Forum Members
Posts: 206
Joined: Tue Oct 25, 2005 4:50 pm

Re: Problems with calendar navigation links

Post 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.
Kaylen
Forum Members
Forum Members
Posts: 128
Joined: Mon May 01, 2006 5:24 pm

Re: Problems with calendar navigation links

Post 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!
Kaylen
Forum Members
Forum Members
Posts: 128
Joined: Mon May 01, 2006 5:24 pm

Re: Problems with calendar navigation links

Post by Kaylen »

jup that helped  ;D

thnx very much!
Locked

Return to “Modules/Add-Ons”