× Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues

Front end login issue

9 years 11 months ago #15 by MULTINOVUM sp. z o.o.
Front end login issue was created by MULTINOVUM sp. z o.o.
it doesn't work

Please Log in or Create an account to join the conversation.

9 years 11 months ago #17 by 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

Please Log in or Create an account to join the conversation.

9 years 11 months ago - 9 years 11 months ago #19 by 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
Last edit: 9 years 11 months ago by MULTINOVUM sp. z o.o..

Please Log in or Create an account to join the conversation.

9 years 11 months ago #20 by 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; ?>
The following user(s) said Thank You: Søren Beck Jensen

Please Log in or Create an account to join the conversation.

9 years 11 months ago #28 by dayton
Replied by dayton on topic Front end login issue
Thanks for the suggestions....

Please Log in or Create an account to join the conversation.

Time to create page: 0.167 seconds
Powered by Kunena Forum

We use cookies so that you can place orders and we can provide a better service. You can control the use of cookies at the individual browser level. If you reject cookies, you may still use our website, but your ability to use some features or areas of our website may be limited.