Active
Project:
Automodal
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
28 Feb 2011 at 01:06 UTC
Updated:
17 Apr 2014 at 11:35 UTC
Jump to comment: Most recent
When opening in a modalframe child, we shouldn't open .automodal links in a new modalframe. A modal inside a modal is no longer modal. :-) If anything, they should open in the current modalframe, but using the automodal* GET paramaters.
Hi to all!, i show a view into a modalframe with automodal it works great but this view has links inside, i want that those links shows in other modal, is it possible?, i put into a class 'automodal' but the link opens in a new page.
Comments
Comment #1
trofiarik commentedHi i have the same issue and looking with no luck for the solution ..
Comment #2
kiwad commentedAlmost same issue but wanted to use Node relationship within an automodal. The modalframe from Node Relationship starts opening then closes automatically
EDIT :
With Node Relationship, the modal frame into another modalframe works with the "view" and the "edit" buttons, but not with the "search and ref" nor "search and ref multiple at once, so I guess I should look to the issue queue of this module
Comment #3
ryan_courtnage commentedHere's what I did:
Add the 'automodal-exclude' class attribute to your link to ensure that the link will not open up in a new window.
Add automodalClose, automodalReload, or automodalRedirect parameters (if needed) as url arguments.
example:
EDIT: This doesn't open up a SECOND modal, it allows a the content within your existing modal to change
Comment #4
discopig commentedYOUR USERS ARE GOING TO HATE YOU for double modal.
Comment #5
mrconnerton commentedThanks @ryan_courtnage, that did it for me, parameters and all.
Comment #6
dsnopekWhen opening in a modalframe child, we shouldn't open .automodal links in a new modalframe. A modal inside a modal is no longer modal. :-) If anything, they should open in the current modalframe, but using the automodal* GET paramaters.
Comment #7
maen commentedThx to @tyan_coutnage, I solved this problem now. For those who are not familiar with the l function, I give here a conflict free version of his code as a renderable array:
Hope this helps someone.