Page 1 of 1

return link for Calendar detailpage parameter broken [solved]

Posted: Tue Jan 02, 2007 10:13 pm
by cubitus
Hello,

I' trying to implement a calendar in my site. I'm using the newest version of the calendar module.
New in this version is the way to use the new parameter detailpage. Great :-) It's look like the news module.

I think that once I am on the page that shows the detail of an event, the "return" link doesn't work. I imagine that when I click on it I would be redirected on the page that shows the list of events (like the news module do) but I'm staying on the page of detail with no content on it.

I assume there is a problem with the Calendar module when it build the {$return_url} variable.

Does anyone has the same problem ? Thanks in advance for your help.

Re: return link for Calendar detailpage parameter broken

Posted: Sun Jan 07, 2007 4:03 pm
by cubitus
Hello,

I still have the problem.

I'm using the calendar module on two pages for my site. On the first page (page #67) I'm using the calendar in UpcomingEvent mode. On the second page (#68) I'm displaying the Event Detail.

So on the first page I'm calling the calendar module with the following code :
{cms_module module="Calendar" display="upcominglist" compact_view="1" detailpage="68"}
This will run the template "Upcoming Template" of the Calendar module and display the list of future events.

On my second page I simply put a {content} tag and the corresponding event will be displayed by using the Template "Event Template" of the Calendar module.

In this last template I'm using the variable $return_url to give to the user the way to go back to the UpcomingEvent page. So I assume that this link should go back to the page #67. But No, this link go back to the page #68. In fact this link will go back to the page specified by the parameter detailpage.

I think this is an error in Calendar. Can anyone confirm that.

Thanks in advance for your help.

Re: return link for Calendar detailpage parameter broken

Posted: Wed Jan 10, 2007 5:22 pm
by Silmarillion
Hi Cubitus

Yes, I can confirm this and it is surely wrong. I've fixed it in svn-version, but although this works fine on several of my sites, I have made quite a number of changes, so I'll need a bit more time to polish it before releasing next version.
Try it out if you feel like it!

Best regards
Morten/Silmarillion

Re: return link for Calendar detailpage parameter broken

Posted: Fri Jan 12, 2007 9:31 pm
by cubitus
Thank you Silmarillion :)

I've just tried the version 0.7.8-svn and I think there is still a problem :

Now using the attribute detailpage="68" doesn't work anymore. I'm not redirected to the detail page when I click on an event.

Looking forward getting the next official release :)

Re: return link for Calendar detailpage parameter broken

Posted: Sun Jan 14, 2007 2:38 am
by Silmarillion
Hi cubitus

Well, seems I broke detailpage in the process. Try now, I think svn works properly now.

Best regards
sil.

Re: return link for Calendar detailpage parameter broken

Posted: Sun Feb 11, 2007 7:03 pm
by jimmyb
Doesn't seem to be working for me!!

Using the current SVN version but the detailpage options still does not work.

Nay body else getting this still??

Re: return link for Calendar detailpage parameter broken [solved]

Posted: Fri Feb 23, 2007 7:11 pm
by heatherfeuer
I'm using Calendar version 0.7.7.  I created a page for details titled "Event Information" and gave it a page alias of "event_detail."  The page is a subpage of Calendar (which uses the "big" table ID).  I also have a subpage of Calendar titled "Upcoming Events" that uses the parameters table_id="cal-list" and display="upcominglist."  Both pages have the parameter detailpage="event_detail."

When I click on an event in the main Calendar page (ID="big"), it properly opens the link in the page with the alias "event_detail;" however, when I click on the same event on the Upcoming Events page, the link opens in the same page instead of the detail page given in the parameter.

Is this a bug or am I doing something wrong?

Re: return link for Calendar detailpage parameter broken [solved]

Posted: Fri Feb 23, 2007 9:01 pm
by heatherfeuer
Yes!  I also took the time to download the updated files from the svn and now the link to the detail page works in both calendar mode and upcoming list mode.

Re: return link for Calendar detailpage parameter broken [solved]

Posted: Wed May 30, 2007 4:17 pm
by monghidi
Hi all,

I'm experiencing some calendar bugginess as described in this thread, especially the 'return link' not working, but I have a question...

How can I get the latest (calendar 0.7.9-svn) as a package from the SVN repository? If I click the "latest snapshot" link on the project page in the Forge, I get files from 2005 (definitely not the latest!).

Alternatively, perhaps its only a few files I would need? If so, which ones, please?

Thank you!
--monghidi

Re: return link for Calendar detailpage parameter broken [solved]

Posted: Wed May 30, 2007 4:41 pm
by alby
monghidi wrote: I'm experiencing some calendar bugginess as described in this thread, especially the 'return link' not working, but I have a question...

How can I get the latest (calendar 0.7.9-svn) as a package from the SVN repository? If I click the "latest snapshot" link on the project page in the Forge, I get files from 2005 (definitely not the latest!).

Alternatively, perhaps its only a few files I would need? If so, which ones, please?
This is a link for SVN download with a program

Here you can display file in SVN. New files (3 months or minus from Calendar 0.7.8 ) are many  ::)

Alby

Re: return link for Calendar detailpage parameter broken [solved]

Posted: Wed May 30, 2007 5:42 pm
by monghidi
Thanks, Alby!

Re: return link for Calendar detailpage parameter broken [solved]

Posted: Wed Jan 23, 2008 6:32 pm
by streever
For .7.10, detailpage does not work when display='list' is active :(

Re: return link for Calendar detailpage parameter broken [solved]

Posted: Wed Jan 23, 2008 7:45 pm
by streever
or .7.11 :)