×
Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues
How to enable frontend editing for all user groups
Eduardo Mena
Bakır Üye
Posts: 31
9 yıl 8 ay önce - 9 yıl 7 ay önce #718
Yazan: Eduardo Mena
How to enable frontend editing for all user groups, Eduardo Mena tarafından oluşturuldu
Hello!
I developed a component with several forms that users within a specific user group can fill from the frontend.
For some reason, when I log in as the super user, every field in the form is saved correctly. But when I'm logged in as a user in another usergroup, the select fields aren't saved. They're not even being actually selected, and not even passed to the JForm object.
Privileges are correctly set in the global configuration panel.
I noticed that when I have problems, I'm also missing the 2 files corresponding to the front editing layout.
OR
Just add the css and js files I'm missing. But if I add them via the regular addScript method, they're added to the end of the head, and it still doesn't work properly.
Does any body has any experience on this issue?
I developed a component with several forms that users within a specific user group can fill from the frontend.
For some reason, when I log in as the super user, every field in the form is saved correctly. But when I'm logged in as a user in another usergroup, the select fields aren't saved. They're not even being actually selected, and not even passed to the JForm object.
Privileges are correctly set in the global configuration panel.
I noticed that when I have problems, I'm also missing the 2 files corresponding to the front editing layout.
- /media/system/css/frontediting.css
- media/system/js/frontediting.js
OR
Just add the css and js files I'm missing. But if I add them via the regular addScript method, they're added to the end of the head, and it still doesn't work properly.
Does any body has any experience on this issue?
Son Düzenleme: 9 yıl 7 ay önce Düzenleyen:Eduardo Mena
Lütfen sohbete katılmak için Giriş ya da Hesap açın.
Eduardo Mena
Bakır Üye
Posts: 31
9 yıl 7 ay önce #723
Yazan: Eduardo Mena
Eduardo Mena tarafından How to enable frontend editing for all user groups konusunda yanıtlandı
I found out that the editing layout was added by the template and wasn't any joomla class or method. I was able to fix it from the template.
Lütfen sohbete katılmak için Giriş ya da Hesap açın.
Sayfa oluşturma süresi: 0.049 saniye