Category: PHP Frameworks
Postgres | JSONB data type field in PostgreSQL(9.4) and using it in CakePHP
JSONB (JSON Blob) datatype in Postgres is used to save JSON data. We can search on JSONB type of column after creating an index on it. For example: Usage in PostgreSQL: 1. Create table and index CREATE TABLE tests (
Handling twitter and google plus share button in wordpress
Handling content and image sharing with twitter and google plus share buttons in wordpress To achieve dynamic content(including image) sharing from a website with share buttons (or links) for share and likes on social sites like twitter and google plus,
Moodle | Writing HTML content into pdf file and sending the pdf file as attachment
To create a new customized plugin with email functionality and sending a pdf file as attachment requires some simple lines of code with TCPDF library file inside the library directory of moodle. And for performing file operations, filelib.php reference is
Using Google reCaptcha to authenticate user login on login form
Google reCaptcha is a free service API provided by Google to protect your site from unauthorized access, abuses and spam. The API uses advanced risk analysis technique to distinguish among a human being and a bot. The reCaptcha API comes
Importance and Need of child theme in WordPress
In wordpress, a child theme is a theme that inherits the functionality and styling of its parent theme. Child themes are the recommended way of modifying an existing theme (like inheritance in object oriented programming). If we have any theme
Heroku | Fatal error due to PHP 7 and old version of CakePHP
Fatal Error on website whenever we were pushing any code change to our website hosted on heroku. We were suddenly facing a fatal error (error 500) on our website. After making debugger on, it displayed the following error : After
Cakephp | How to send email using google api (gmail) in cakephp 2.x ?
How to send email using google api (gmail) in cakephp 2.x? Answer: When you send email using google api, you’ll need: 1. Cakephp 2.x 2. A Google account with Gmail enabled. 3. PHPMailer Library. Download PHPMailer library from below link:
Jquery : Filter array by applying AND & OR logic on checkboxes
In one of our projects we have multiple groups of checkboxes and corresponding divs with id as checkbox label. Now we want our checkboxes to perform AND and OR logic . For Example: <html> <div id=”_Java_less than 1500_Basic_Dennis Ritchie” class=”6″
What is Ajax? How to send the request using different Jquery methods?
What is Ajax? How to send the request using different Jquery methods? Ajax: Ajax stands for Asynchronous JavaScript and XML. Ajax is a technique for creating fast and dynamic web pages. Ajax allows web pages to be updated asynchronously by