I'm using Playa in a safecracker form (using the {field:my_playa_field_name} format) and the js and css is loading fine, the field looks just like it should and there are no js errors, but it won't respond to clicks. I can hover over each anchor and the anchor highlights, but I can't dbl-click, drag, or select and use the arrows to move the items over to the other side of the table.
Anything I can try?
I'm using the EE jquery tag in my tags and have jquery disabled in the safecracker form parameters. All other third-party plugins are functioning properly.
Help get this topic noticed by sharing it on
Twitter,
Facebook, or email.
Twitter,
Facebook, or email.
-
Hi Sam,
Check your browser’s JS console and see if you’re getting any JS errors on the page. -
-
As mentioned above, there do not appear to be any JS errors. So sayeth Chrome's devtools anyway.
-
-
Can you view the HTML source on the page and search for "jquery" to make sure it's only getting included once?
-
-
It only appears to be loaded once in the header. I have also placed the jquery tags which call ui elements to the footer, and set conditionals to not load widget and core libraries on pages which have safecracker forms so there don't appear to be any ui tag duplicates either.
-
-
Can you try creating a completely bare-bones SAEF, with nothing but the Playa field – don't include your site header/footer include templates, etc., and leave include_jquery="yes" – and let me know if Playa works there?
-
-
Figured out the problem. After confirming the field worked by creating an otherwise empty test template, I put the old form code back in, commented out everything but the form tags and the playa field and started including things back in one by one. Turns out, playa doesn't like to be loaded in a paragraph tag. Switched it to a div and all is well.
Thanks for the assist! -
-
-
Loading Profile...



EMPLOYEE
