Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Where i can change code to force opening page in same window (_self), when i click on event title.
Thank you.
Comments
Comment #1
aspilicious CreditAttribution: aspilicious commentedNormally you should
change to
In the views.js code. The return false means the page will open in a new window. But it doesn't rly work yet cause it opens the event in a new tab and in the same window.
Investigating...
Comment #2
aspilicious CreditAttribution: aspilicious commentedIt's even easier.
1) Open the fullcalendar.view.js file.
2) find all the instances of window.open(calEvent.url);
3) replace them by window.open(calEvent.url, _self);
Tested locally, works :)
Need more options? http://www.w3schools.com/jsref/met_win_open.asp
Comment #3
darsic CreditAttribution: darsic commentedThank you very much, it works :)
I spend a lot of time, trying to find this ... how could i miss this instance :))
Chears.
Comment #4
darsic CreditAttribution: darsic commentedFixed.
Comment #5
tim.plunkettComment #6
TimelessDomain CreditAttribution: TimelessDomain commented#2 worked for me. If this feature is not going to be made into a setting on this page http://yoursite.com/admin/settings/fullcalendar . Then this should be mentioned in the module documentation
Comment #7
tim.plunkettOh, this got implemented over here: #1050530: target window.