Annulleret

view refresh on modal close / Panels / VIEWS / AUTOMODAL

Hi,

What I have

- a view on a panel page 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/a certain 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/AND you ajaxyfy the form in some other way, in oder to use the [url removed, login to view] module.

PSEUDO CODE for automodal

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));

}

Have a look on the exposed filter function with ajax of views.

HINT?

[url removed, login to view]

Færdigheder: AJAX, Drupal, jQuery / Prototype

Se mere: drupal modal refresh view, drupal panels modal page, refresh view automodal drupal, ajax modal views drupal, automodal delete link node, drupal automodal close, modal delete views ajax refresh drupal, drupal modal panel, automodal edit delete drupal, drupal panel ajax refresh, panels automodal, what to use node.js for, use of node.js, refresh modal panel, drupal automodal setting, ajax refresh panel view, drupal automodal refresh parent, drupal automodal, automodal, drupal view refresh ajax, automodal close drupal, drupal ajax node modal view display, automodal refresh parent drupal, automodal drupal, automodal_add

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

Projekt-ID: #941981

1 freelancer byder i gennemsnit $100 for dette job

lukeyan

experienced Drupal developer, please check PM for details

$100 USD in 2 dage
(152 bedømmelser)
7.6