So this is what I am trying to accomplish. Popup link opens a popup to a view of items. When you click on one of the items in the view I want the popup to redirect to the clicked item's node. On that page there is a form, that when submitted, I would like the popup to close and the original page that the first link was on to just reload a specific div.

I have currently gotten all of this accomplished except for the final page reload of the particular div. The only way I can figure out to get the second page to reload the original page on the form submit is by adding the destination parameter to the link, which I don't think is the best way either. If I try any other way, the original page reloads to the first link I added.

For example:
page1 has link to page2 in popup. link in page2 goes to page3 in popup. when submit form, page1 goes to page2 for some reason and I didn't specify that anywhere. I want page1 to stay on page1 and reload certain div.

Am I making any sense? I can provide links if necessary.

Comments

drewish’s picture

Some links would be very helpful. I'm having a hard time visualizing it.

johnlutz’s picture

http://siegelsuniforms.com/elbeco-tex-trop-mens-long-sleeve-shirt

The links on the left under "Customize This Product" are the ones that I want to be popups. They currently are popups just not working exactly like I want them yet. The one titled Patches and Panels is the one that I need to be chained. It opens up a view that I would like the links inside that view to stay inside the popup window and then when they submit the add to cart form, I want a div back on the first page to be updated.

Also, for some reason the first 2 options under that "Customize this Product" are not working correctly anymore either. Those are just supposed to open up the product details page with the add to cart form on it and when submitted, again update a certain div on the first page. This was working a few weeks ago and now it doesn't seem to be updating that div. The chained issue is the one I really needed the help on though. Hopefully I can figure out what is going on here by myself.

Thanks for helping.

johnlutz’s picture

I can pay anyone interested in helping me find a solution to this. Please help. Thanks.