Closed (duplicate)
Project:
Chaos Tool Suite (ctools)
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
28 Feb 2011 at 12:17 UTC
Updated:
23 Dec 2016 at 14:23 UTC
Jump to comment: Most recent
Comments
Comment #1
yurtboy commentedany luck on this?
Comment #2
jordanmagnuson commentedI'm wondering about this as well (latest D7 dev). Specifically, I want to be able to set the query to drupal_get_destination() , to redirect users after filling out the form, if they do not have js enabled.
Otherwise, as far as I can tell, there's no way to redirect non-js users back to their original location after filling out a modal form...
Comment #3
nagiek commentedChiming in to say I don't know either, lol.
I was also looking to use drupal_get_destination(), but no luck.
Comment #4
nagiek commentedJust thinking about this a little more. @JordanMagnuson, you and I want to get the original destination, whereas the original poster wants to pass a variable to a modal (I think).
Marking this as a duplicate of #1039858: Additional configuration option for String arguments to pass URL query string to contexts and opening an issue for getting the original destination.
Comment #5
abhaysaraf commentedYou can provide query parameters using below code.