Hello, i did a fresh install of Isotope and even the views example and theme example did not work.So with libraries i included the isotope js, after this the theme example worked, but the views didn't .I'm getting from the both this error [cannot call methods on isotope prior to initialization; attempted to call 'stamp'] in the js console.
How can i fix this?Thanks

Comments

alexit873 created an issue. See original summary.

Chris Gillis’s picture

Category: Bug report » Support request

Do you by any chance have a link we can look at? I can confirm that a fresh install of isotope on a clean drupal, does in fact work, so this sounds like you might have something else in your install that is conflicting, or perhaps you are not using the right version of isotope. Because of that, I'm going to go ahead and change this to a support request.

alexit873’s picture

Thanks for the answer, here is the link to the outofthebox example:http://vidiall.com/isotope-example/views-example

The modules that are installed are:transliteration
context
jquery update
ctools
views
navbar
modernizr
libraries

Thank you for the help your giving

Chris Gillis’s picture

Looks like the view has no results - just a bunch of filters... have you been playing around with the view? Maybe you could give some login details I could take a look.

alexit873’s picture

I can't give you admin rights to my site but i created a 24hr site with views and isotope installed.
It gives the same error and the site is clean.

Link to the 24hr site
https://rmqv0.ply.st/

user:admin
password:admin

Could you please adjust the view so i will replicate on my site.
Thanks again

fmmribeiro’s picture

I'm having the same problem

fmmribeiro’s picture

I guess that every element must be wrapped within some class of isotope

Chris Gillis’s picture

Category: Support request » Bug report
Priority: Normal » Critical

Thanks for that, I can replicate that now too... I'll look into a fix as soon as I can.

  • Chris Gillis committed 29a3671 on 7.x-2.x
    Issue #2666062: Javascript error [cannot call methods on isotope prior...
Chris Gillis’s picture

I've just committed a fix. Could you please grab the latest dev and let me know if it fixes your problem?

Chris Gillis’s picture

alexit873’s picture

Thanks Chris, works without problems now.
New test site for 24h https://dmq8n.ply.st/

Chris Gillis’s picture

Status: Active » Fixed

Good to hear.

ezoulou’s picture

Dev version (https://www.drupal.org/node/1906594) did fix the bug of my installation (bug = cannot call methods on isotope prior to initialization; attempted to call 'stamp').
Thanks for the fix.

Status: Fixed » Closed (fixed)

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