The basic function of this is to find any URLs in the block of text and turn them into hyperlinks. It will only find URLs if they are properly formatted, meaning they have a http, https, ftp or ftps. Reference : https://css-tricks.com/snippets/php/find-urls-in-text-make-links/ https://stackoverflow.com/questions/1960461/convert-plain-text-urls-into-html-hyperlinks-in-php
Jan
11
Jan
11
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
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? /* 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 :
Jan
03
Reference : https://stackoverflow.com/questions/38424286/joomla-jtext
Jan
03
Code Sample :
Jan
03
You can use send any js script to footer. 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 →