I'd like to have a window popup after clicking a link in a widget.
For example in one widget I have a list of cars, and if I went to add a cars, there is a link "create" on the widget. After clicking it, there will be a popup window where i can insert the information about the car to add, if the insertion is finished, it back to the first widget with the car added.
You seem to have CSS turned off.
Please don't fill out this field.
depending of the type of your widget, you can use $p.app.popup.open or window.parent.$p.app.popup.open. Just look at the /includes/ajax.js file for examples
I think, it's window.parent.$p.app.popup.open bcause it's own of one window.
And how to do please?