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.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | views_infinite_scroll-integrate-masonry.patch | 677 bytes | vj |
Comments
Comment #1
nchase commentedhaving the same issue. conflicts with http://drupal.org/project/views_infinite_scroll
Comment #2
vj commented@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
Comment #3
rickharington commented@VJ would there be any changes to your code for D7? Do you have an example site where you got this working?
Comment #4
vj commented@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.
Comment #5
rickharington commentedHey 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.
Comment #6
vj commentedyou 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
if you want any help in urgent you can send me a message using contact form.
Thanks,
Vj
Comment #7
rickharington commentedHye 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.