×
Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues
Front end login issue
MULTINOVUM sp. z o.o.
New Member
Posts: 15
10 năm 4 tháng trước #15
bởi MULTINOVUM sp. z o.o.
Front end login issue was created by MULTINOVUM sp. z o.o.
it doesn't work
Vui lòng Đăng nhập hoặc Tạo tài khoản để tham gia cuộc hội thoại.
MULTINOVUM sp. z o.o.
New Member
Posts: 15
10 năm 4 tháng trước #17
bởi MULTINOVUM sp. z o.o.
Replied by MULTINOVUM sp. z o.o. on topic Front end login issue
I have websites on two version Joomla 3.2.3 and 3.3
. I use the same component on both websites
In frontend when I make FormComponent, the main button SEND gives no effect - dont save item
But if I put not correct value in input field the SEND button work - that monit, that I set wrong value
. I use the same component on both websites
In frontend when I make FormComponent, the main button SEND gives no effect - dont save item
But if I put not correct value in input field the SEND button work - that monit, that I set wrong value
Vui lòng Đăng nhập hoặc Tạo tài khoản để tham gia cuộc hội thoại.
MULTINOVUM sp. z o.o.
New Member
Posts: 15
10 năm 4 tháng trước - 10 năm 4 tháng trước #19
bởi MULTINOVUM sp. z o.o.
Replied by MULTINOVUM sp. z o.o. on topic Front end login issue
I noticed - when I logged as superuser in frontend - it works. But every user have to be superuser?
Of course I set all permissions for registered user in backend component administration
Of course I set all permissions for registered user in backend component administration
Last edit: 10 năm 4 tháng trước by MULTINOVUM sp. z o.o..
Vui lòng Đăng nhập hoặc Tạo tài khoản để tham gia cuộc hội thoại.
MULTINOVUM sp. z o.o.
New Member
Posts: 15
10 năm 4 tháng trước #20
bởi MULTINOVUM sp. z o.o.
Replied by MULTINOVUM sp. z o.o. on topic Front end login issue
this code (in views/form) has an some error - when I remove that - it works for registered user too:
<?php if (!JFactory::getUser()->authorise('core.admin','lista')): ?>
<script type="text/javascript">
jQuery.noConflict();
jQuery('.tab-pane select').each(function(){
var option_selected = jQuery(this).find(':selected');
var input = document.createElement("input");
input.setAttribute("type", "hidden");
input.setAttribute("name", jQuery(this).attr('name'));
input.setAttribute("value", option_selected.val());
document.getElementById("form-kontakt").appendChild(input);
jQuery(this).attr('disabled',true);
});
</script>
<?php endif; ?>
<?php if (!JFactory::getUser()->authorise('core.admin','lista')): ?>
<script type="text/javascript">
jQuery.noConflict();
jQuery('.tab-pane select').each(function(){
var option_selected = jQuery(this).find(':selected');
var input = document.createElement("input");
input.setAttribute("type", "hidden");
input.setAttribute("name", jQuery(this).attr('name'));
input.setAttribute("value", option_selected.val());
document.getElementById("form-kontakt").appendChild(input);
jQuery(this).attr('disabled',true);
});
</script>
<?php endif; ?>
Những thành viên sau(s) đã Cảm ơn: Søren Beck Jensen
Vui lòng Đăng nhập hoặc Tạo tài khoản để tham gia cuộc hội thoại.
dayton
New Member
Posts: 1
10 năm 4 tháng trước #28
bởi dayton
Replied by dayton on topic Front end login issue
Thanks for the suggestions....
Vui lòng Đăng nhập hoặc Tạo tài khoản để tham gia cuộc hội thoại.
Thời gian tải trang: 0.070 giây