Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 1885

Joomla! 5.x Coding • Re: Custom Module not working unless logged in

$
0
0
All pages in Joomla are handled by components. You are currently submitting the form data to whatever component is set as home page. Whatever query parameters you use might conflict with the parameters used by the component, which can cause all sorts of issues. Which is why you should always use your own endpoint.
Anyways, the specific issue you're having is caused by broken form markup caused by this condition:

Code:

if (!$result){    return;}
This leaves unclosed <form> which causes the fields of the adjacent form (possibly from Login module) to be submitted as well.

Statistics: Posted by SharkyKZ — Tue Feb 06, 2024 8:00 am



Viewing all articles
Browse latest Browse all 1885

Trending Articles