After install the module I found two issues:
1. All blocks are not shown, I change the settings for each block and the issue continue.
2. if I go to /admin/config/services/responsive-blocks the values for "resolution start point" do not change after save. the default value is always the same.

Comments

swaps’s picture

Priority: Critical » Normal
Status: Active » Needs review
StatusFileSize
new1.66 KB

@maricontor,

Attached patch should resolve the issue .
Can you please check and confirm ; so that we can merge the changes and release it a required.

Thanks,
SwapS.

swaps’s picture

Status: Needs review » Patch (to be ported)
jieyyal’s picture

Need change below function

function _responsive_blocks_get_library_path() {
  if (function_exists('libraries_get_path')) {
    $library_path = libraries_get_path('mediaCheck');
    if (!$library_path) {
      $library_path = 'sites/all/libraries/mediacheck/mediaCheck.js';
    }
  }
  else {
    $library_path = 'sites/all/libraries/mediaCheck';
  }

  return $library_path;
}

To:

function _responsive_blocks_get_library_path() {
  if (function_exists('libraries_get_path')) {
    $library_path = libraries_get_path('mediaCheck');
    if (!$library_path) {
      $library_path = 'sites/all/libraries/mediacheck/mediaCheck.js';
    }
    else {
     $library_path .= "/mediaCheck.js";
   }
  }
  else {
    $library_path = 'sites/all/libraries/mediaCheck/mediaCheck.js';
  }

  return $library_path;
}

I want to say, the module does no help for site performance.
The block content render on each breakpoint anyway, just display none for specific device.

swaps’s picture

Assigned: Unassigned » swaps
Status: Patch (to be ported) » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.