10848 Posts in 2516 Topics by 1792 members
|Go to End||Next >|
13 January 2010 at 5:44am
Do you need us to submit a patch for any of this, or do you have that under control UncleCheese?
13 January 2010 at 7:03am
Yes, please post a diff if you can. Thanks again.
11 March 2010 at 2:54pm
Attached is a diff of all the above changes applied to revision 91. I hope I got everything noted so far, and that this helps -- although I am still experiencing one problem with links to CalendarEvents. I'm just getting into it, so I'll post more later if I can clarify it.
12 March 2010 at 5:47am
The CalendarEvent->CalendarBackLink() function gets messed up in certain scenarios. If $_GET['CalendarStart'] contains a value, then it gets added onto the backlink, breaking the link.
I'm not sure if I'll ultimately need this in my templates, so I'm not digging in right now to understand the intentions of this function. I don't know why it's doing more than simply `return $this->Parent()->Link()`. Whatever the intention, perhaps it's somehow broken by nested urls.
Any obvious solutions?
12 March 2010 at 6:04am
CalendarBackLink() will preserve any filters you had applied to the calendar when clicking into the detail page. It's kind of silly. Probably ought to just session that data.
12 March 2010 at 1:45pm
Without moving that to the session, would it preserve the same functionality to add it to the link's query string (preserving the current query string) instead of using the /start/end structure?
12 March 2010 at 2:43pm
I'm not sure what you mean.. can you give me an example?
16 March 2010 at 5:36am
Say you're looking at
then the return link under 2.4b1 currently points to something like
I'm wondering if instead it could just link to
These example links may be wrong; I don't currently have this functionality in my working site. I'm just making these up from what I remember. Hopefully that explains what I mean by the query string.
|Go to Top||Next >|