return link for Calendar detailpage parameter broken [solved]

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
User avatar
cubitus
Forum Members
Forum Members
Posts: 32
Joined: Mon Oct 09, 2006 3:42 pm

return link for Calendar detailpage parameter broken [solved]

Post 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.
Last edited by cubitus on Sun Jan 21, 2007 1:48 pm, edited 1 time in total.
User avatar
cubitus
Forum Members
Forum Members
Posts: 32
Joined: Mon Oct 09, 2006 3:42 pm

Re: return link for Calendar detailpage parameter broken

Post 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.
Last edited by cubitus on Sun Jan 07, 2007 4:06 pm, edited 1 time in total.
User avatar
Silmarillion
Dev Team Member
Dev Team Member
Posts: 483
Joined: Sun Jan 02, 2005 9:10 pm

Re: return link for Calendar detailpage parameter broken

Post 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
User avatar
cubitus
Forum Members
Forum Members
Posts: 32
Joined: Mon Oct 09, 2006 3:42 pm

Re: return link for Calendar detailpage parameter broken

Post 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 :)
User avatar
Silmarillion
Dev Team Member
Dev Team Member
Posts: 483
Joined: Sun Jan 02, 2005 9:10 pm

Re: return link for Calendar detailpage parameter broken

Post by Silmarillion »

Hi cubitus

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

Best regards
sil.
jimmyb
Forum Members
Forum Members
Posts: 35
Joined: Wed Sep 20, 2006 12:40 pm

Re: return link for Calendar detailpage parameter broken

Post 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??
heatherfeuer

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

Post 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?
heatherfeuer

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

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

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

Post 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
alby

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

Post 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
monghidi

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

Post by monghidi »

Thanks, Alby!
streever

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

Post by streever »

For .7.10, detailpage does not work when display='list' is active :(
streever

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

Post by streever »

or .7.11 :)
Post Reply

Return to “CMSMS Core”