I gang

alter automodal with view refresh on modal close

Hi,

What I have

- a view on a panelpage is listing some nodes (see screenshot 01)

- The "edit" and "delete" link should appear in a modal. I'm using [url removed, login to view] for that.

What I need

- the view on the parent page should be refreshed after closing the modal.

You should alter the automodal function for this refresh in a small module. (Have a look at [url removed, login to view])

Maybe with a new setting "refresh view". Or you ajaxyfy the form in some other way, in oder to use the [url removed, login to view] module.

function automodal_addons_automodal_alter(&$settings, $selector) {

if ($selector == '.automodal-delete') {

$settings['automodalReload'] = TRUE;

$settings['width'] = 700;

$settings['refresh view'] = array(

viewname: myview,

display-id: view-pane-2,

);

}}

function automodal_addons_init() {

automodal_add('.views-field-delete-node a', array(

'width' => 300, ['refresh view'] = array(

viewname: myview,

display-id: view-pane-2,

);));

automodal_add('.views-field-edit-node a', array('width' => 300));

}

Færdigheder: AJAX, Drupal, jQuery / Prototype

Se mere: refresh view automodal drupal, drupal modal refresh view, drupal automodal refresh page, automodalreload, automodal width, drupal automodalreload, automodal node drupal, drupal automodal views refresh, drupal automodal_add, automodal drupal, what to use node.js for, drupal automodal form, drupal views refresh, automodal_add, what is node, the view, refresh, Modal, edit 343, alter, alter i, drupal node form, Drupal View, views ajax, drupal ajax views

Om arbejdsgiveren:
( 4 bedømmelser ) Hamburg, Germany

Projekt-ID: #932456

2 freelancere byder i gennemsnit $50 for dette job

acesolution

you have [url removed, login to view]

$50 USD på 1 dag
(44 bedømmelser)
5.4
phpdevindia

I can do this and ready to start [url removed, login to view] check PM. Thanks

$50 USD på 1 dag
(18 bedømmelser)
4.8