Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
6096 มุมมอง

Hello,

I created a module in frontend (Website). I have a form and some fields are dates. I try to use a datepicker, but if the user logged have no access to edit Website, I got "$(...).datepicker is not a function"on my browser console. What is the problem?

Thanks,

อวตาร
ละทิ้ง
ผู้เขียน

Finally I found a part of my problem. It is because jQuery.ui look is not enable with some rights. I added jquery-ui in my template. Now, it is ok for all users instead the Admin. Now the admin got this error message in browser console: $(...).zIndex is not a function

Did you ever figure out a solution? I found that if I install my custom module before the Website module my fields.date works fine. If I have the web app installed before it doesn't work.

ผู้เขียน

Because the problem was only in admin, I don't try to figure out. Thanks for your answer. I'm gonna try.

Thanks

Related Posts ตอบกลับ มุมมอง กิจกรรม
2
พ.ค. 25
9760
3
มี.ค. 24
5415
Website form field conditions แก้ไขแล้ว
1
ม.ค. 21
3438
0
ม.ค. 25
1167
1
ม.ค. 25
1582