i'm using List of hyperlinks widget.

what's happening?

after click on any link, the value if this one is submitted and validaded. after that, the page is refreshed.

global_filter.js

post_to('', data);
function post_to(url, data) {
  jQuery.post(
    url,
    data,
    function(response){
      // Upon confirmation that the post was received, initiate a page refresh.
      // At this time the main module has already set the filter on the session.
      location.href = '';
    }
    //, 'json'
  );
}

in my case, the delay betwen user click and page refresh is above 4 seconds.

so, maybe remove this validation?

CommentFileSizeAuthor
#6 Snap3.jpg3.46 KBdgastudio
#3 Snap1.jpg136.99 KBdgastudio

Comments

dgastudio’s picture

Issue summary: View changes

1

dgastudio’s picture

also, i want to take this module as base, http://drupal.org/project/views_flag_refresh, and develop a new one specifically for Global filter.

that are u think about it?

rdeboer’s picture

Hi Kervi,
As for the main issue, maybe your page loads very slowly even without Global Filter?
Global Filter does the page refresh so that your Views can respond to the global filter change.
Alternatively, don't use the js option, but configure Global Filter to just use plain old-fashioned links.

Regarding Views Flag Refresh.... what is the use-case scenario you had in mind exactly? What do you want the combination of the Views Flag Refresh and Views Global Filter modules to do for the user?
Rik

dgastudio’s picture

StatusFileSize
new136.99 KB

Hi Rick!

damn, i have updated to latest dev version and everything is broken now...

so, i'll provide you info about js delay a little bit later.

about Views flag refresh.

use case:
same page. global filter block and views display.

after select any option from global filter, views display is refreshed via ajax.

something like exposed filters with ajax enabled in views.

dgastudio’s picture

ok, i have rolled back to stable version, and everthing seems works again.

please, take a look

http://u5444.krypton.vps-private.net/consultation/all

on the left, is global filter.

switch between any option.

rdeboer’s picture

kervi,
which stable version did you roll back to?
Rik

dgastudio’s picture

StatusFileSize
new3.46 KB

1

rdeboer’s picture

Status: Active » Postponed (maintainer needs more info)

Unfortunately I was already too far down the path of a major refactoring, which I've just checked in.

The new code base puts me in a much better position to timely fix things and add features.

Can you please check whether the latest 7.x-1.x-dev (dated 20 March 2012) works for you?
If not please create an issue and I'll see what I can do.

Rik

rdeboer’s picture

The code for 7.x-1.x-dev and 7.x-1.2 regarding the refresh of the page is identical.

However, maybe the page refresh can be initiated on the server....

rdeboer’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

No reaction for 2 months. Assume fixed.

rdeboer’s picture

Issue summary: View changes

3