To ignore SSL in Curl , add this two lines. I hope problem will be solved. curl_setopt($process, CURLOPT_SSL_VERIFYPEER, FALSE); curl_setopt($process,CURLOPT_SSL_VERIFYHOST, FALSE); Reference : https://stackoverflow.com/questions/16220172/php-curl-ssl-verifypeer-option-doesnt-have-effect
Jan
11
Jan
11
Sometimes, when we make a curl call to third party services, we get an error curl: (60) SSL certificate : unable to get local issuer certificate. This error occurs because the curl verifies and makes a secure connection request using self-signed certificate. When it does not find the valid certificate,... read more →
Jan
09
Ternary operator logic is the process of using "(condition) ? (true return value) : (false return value)" statements to shorten your if/else structures. What Does Ternary Logic Look Like? [code] /* most basic usage */ $var = 5; $var_is_greater_than_two = ($var > 2 ? true : false); // returns true... read more →
Jan
08
In this tutorial you can see how to use font awesome in Joomla 4 module. Please check code : [code] //https://docs.joomla.org/J4.x:Web_Assets //Font Awesome $wa = Factory::getApplication()->getDocument()->getWebAssetManager(); $wa->registerStyle('joomla-fontawesome', 'system/joomla-fontawesome.min.css', [], [], []); $wa->useStyle('joomla-fontawesome'); [/code]
Jan
03
[code] [/code] Reference : https://stackoverflow.com/questions/38424286/joomla-jtext
Jan
03
Code Sample : [code]
Jan
03
You can use send any js script to footer. Code : [code] $doc->addScript($modulePath.'js/currency.js', array(), array("defer" => "defer")); $options=array( "type"=>"text/javascript", "defer"=>true, "async"=>false, "depends"=>array("jquery","jquery-ui"), "provides"=>"jquery-animation" ); JFactory::getDocument()->addScript($url, $options); [/code] Reference url : https://joomla.stackexchange.com/questions/371/adding-javascript-file-in-the-footer-custom-styles
Dec
29
Joomla 4 is catching up with the new (and not so new) web technologies, technologies that are now widely supported by most modern browsers. One of these techniques is Web Components. Web components allow developers to reuse custom elements on a web page or web app without the fear of... read more →
Dec
29
If your are a Joomla developer sometimes you encounter a task which needs to produce jQuery Ajax call in order to add some additional content to a Joomla article page or just to make some operation in a background. In this case this article will help you to implement this... read more →