CGCalendar url errors

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
nervino
Power Poster
Power Poster
Posts: 448
Joined: Sun Dec 28, 2008 12:15 pm

CGCalendar url errors

Post by nervino »

Hello, I'm using CMSMS 1.11.10 and CGCalendar 1.13.3.

I put in my home page template 2 tags:
{cms_module module="CGCalendar" display="upcominglist"}
and
{cms_module module="CGCalendar" display="yearlist"}

The two tags display events as expected.

In the config tab of CGCalendar I have chose a default page (events-calendar) for the module (that contains {cms_module module="CGCalendar"}) and I set a default prefix for Pretty URLs (events).

Links generated by {cms_module module="CGCalendar" display="upcominglist"} have pretty urls and display the details in events-calendar.

The problem:
Links generated by {cms_module module="CGCalendar" display="yearlist"}:
- Year pagination urls are not pretty, but they change the year;
- Detail urls haven't the prefix "/events/" and have "/calendar/" instead, and they give a Not Found error.

I've read in the bug fixes of the module that the ugly url issue with display="yearlist" was fixed last october, so I guess I'm doing something wrong. But, what..?

Thank you for help
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: CGCalendar url errors

Post by Rolf »

Most URLs in CGCalendar are "ugly". The module needs the parameters in the URL, you can't change that...
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
nervino
Power Poster
Power Poster
Posts: 448
Joined: Sun Dec 28, 2008 12:15 pm

Re: CGCalendar url errors

Post by nervino »

Hi Rolf, I know that modules need parameters in the url, but for "ugly" I mean something like this:

Code: Select all

http://www.mysite.com/index.php?mact=CGCalendar,m89722,default,1&m89722display=yearlist&m89722year=2015&m89722returnid=15&page=15
that I have in year pagination links;
while for detail links I have:

Code: Select all

http://www.mysite.com/events/34/4-Test-Event
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: CGCalendar url errors

Post by Rolf »

That is normal behaviour. Check http://www.zeijen.nu/agenda
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
nervino
Power Poster
Power Poster
Posts: 448
Joined: Sun Dec 28, 2008 12:15 pm

Re: CGCalendar url errors

Post by nervino »

I see. I had confused a post in the bug tracker that I've read sometimes ago (http://dev.cmsmadesimple.org/bug/view/7934), so I thought pretty urls were implemented in year pagination.

Thanks Rolf.
Post Reply

Return to “Modules/Add-Ons”