Hi

In Manage Display under: 'Use jQuery modal for full image link' - I do not get Yoxview. Though I get color box and its working. Is there any option to use Yoxview instead.

Thanks a lot. Its a Great Module.

Comments

manuel garcia’s picture

Title: Not working with Yoxview » Support for Yoxview module
Version: 7.x-1.0 » 7.x-1.x-dev

I don't know the module, but here is the link for future reference if someone wants to work on this:
http://drupal.org/project/yoxview

pvasili’s picture

Version: 7.x-1.x-dev » 7.x-1.3

galleryformatter.module

function galleryformatter_field_formatter_settings_form($field, $instance, $view_mode) {
...
  if (module_exists('lightbox2')) {
    $modal_options['lightbox2'] = 'lightbox2';
  }
+  if (module_exists('yoxview')) {
+  $modal_options['yoxview'] = 'yoxview';
+  }
  $modal_options['none'] = t('Do not use modal');
...
function galleryformatter_field_formatter_view($entity_type, $entity, $field, $instance, $langcode, $items, $display) {
...
        case 'lightbox2':
          $link_attributes['rel'] = 'lightbox['. $slideset_id .']';
          break;
+      case 'yoxview':
+        $link_attributes['class'] = 'yoxview_thumbnail';
+         $element['#attached']['library'][] = array('yoxview', 'yoxview');
+        break;
      }
astonvictor’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

I'm closing it because the issue was created a long time ago without any further steps.

if you still need it then raise a new one.
thanks