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

Joomla! 4.x Coding • Re: Custom Extension -> Upload File (Controller / Model)

$
0
0
The model's save method must not return an ID, it must be return a boolean. If the method had a return type, this would result in an error. The model should also not be reading request data. What you could do instead is merge the file data with form data and pass it to the model.

Statistics: Posted by SharkyKZ — Sun Nov 03, 2024 8:34 am



Viewing all articles
Browse latest Browse all 1433

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>