I made a view containing an iToggle clickable widget field (node sticky). When using the view as a page, everything is working fine; when using the view via the function views_embed_view(), everything is shown but not clickable/changable. What's wrong?
Notice: Maybe it's because i used the views_embed_view in a node-edit-form and the problem isn't the views_embed_view but the edit-form.

Comments

adam1’s picture

Title: Clickable Widget does not work with views_embed_view() » Clickable widget does not work with views_embed_view()
adam1’s picture

Issue summary: View changes
adam1’s picture

Status: Active » Closed (works as designed)

After further investigations i found out that views_embed_view() isn't blamable for the issue, but it's the path of the view: if the path of the view is a system-path that contains "admin/" then the iToggle-fields aren't clickable. When you have Views Bulk Operations installed, then the issue is reproducable very easy by adding a clickable iToggle-views-field to one of the content administration views. I have opened this new issue.