Wen trying to integrate this with an infinite scroll pager, I run into issues displaying the added view blocks. The module does not quite understand that the new pieces need to fit in to the previous. Will post a link if necessary.

CommentFileSizeAuthor
#2 views_infinite_scroll-integrate-masonry.patch677 bytesvj

Comments

nchase’s picture

having the same issue. conflicts with http://drupal.org/project/views_infinite_scroll

vj’s picture

StatusFileSize
new677 bytes

@Nchase

I hacked the file from views_infinite_scroll/js/views_infinite_scroll.js and added the patch for it. Just a one line code did the trick for me.

I have attached the same hope this might help you.
Thanks,
VJ

rickharington’s picture

@VJ would there be any changes to your code for D7? Do you have an example site where you got this working?

vj’s picture

@besnikt No other changes for view. But i am not using this(http://drupal.org/project/views_fluidgrid) module using direct plugin (http://masonry.desandro.com/) on views body.
Project on which i tried is private project so cant share the url sry.

rickharington’s picture

Hey VJ

Can you please explain how you used that plugin directly? I'm sorry, but still a novice and would love to see this working.

vj’s picture

you can add masonary plugin js and css as we do by using drupal_add_js and drupal_add_css.

then in custom js file add js code like

$('.VIEWS-UNIQUE-CLASS-NAME .view-content').masonry({
  itemSelector: '.views-row',
  columnWidth: 100
});

if you want any help in urgent you can send me a message using contact form.

Thanks,
Vj

rickharington’s picture

Hye VJ thanks for helping out. Luckily I got a hold of a solution using the masonry module with a patch. For anyone lese finding this pleaase have a look at http://drupal.org/node/1806628. This obviously doesn;t solve this modules problems but there is talks of the 2 module merging.