Category: Web Development
CakePHP | Get user profile information through Gmail API (2.2.0)
Steps to extract user profile information through Gmail API (2.2.0) in CakePHP: 1. Set up developer test account inside google API developer console: Use https://console.developers.google.com/ link to open developer console. Add new project inside your developer console and enable the
WordPress | How To Add Custom Color Picker in WordPress Custom Options Panel
While building options panel in functions.php of your child-theme, we can create our custom color picker without using any plugins. We have to follow these steps and for this color picker : 1. Add Canvas <canvas id=”image_canvas” width=”246px” height=”210px”></canvas> 2 .
Some Useful Features from jquery and Html5
1. Data attribute : This is the new attribute in html5. Using data attribute we can store custom data in any of the html elements. Data attribute consists of a prefix “data-” and a unique name appended to the prefix.
MySql Multi-table Join Query using Cakephp 3
Below is a mysql query joining three tables. SELECT c.course_path, t.sf_name FROM courses c JOIN modules m ON c.id = m.course_id JOIN topics t ON m.id = t.module_id WHERE t.topic_name = ‘test_topic’. This Query will return Course_path and Sf_name from
How to create Subscriptions in cybersource Payment Gateway
Basically subscription in Cybersource is the customer profile that holds its details like customer details, billing and shipping details, customer payment information like card type, expiration date, account number etc. We have to pass all these details to Cybersource with
How to change wordpress multisite Subdomain to subdirectory
In a project I was working on WordPress multisites run on subdomains and we wanted to change multisite subdomains to subdirectory path like this: www.test.domain.com to www.domain.com/test. Following steps are needed to follow for converting the subdomain to subdirectory URL
Jquery | $ is not defined – Solving JQuery Conflict
Due to some project requirements sometimes we need to load multiple versions of jquery (not recommended). As most of the jquery library uses $ as an alias name for jQuery, therefore only $ of last library loaded into page works
WordPress | Building custom wordpress theme options panel
With each theme we install, we get its default options panel that provides settings for the theme like color etc. But sometimes there can be a requirement of some more options that are not already in theme’s options panel. So,
Integrate Google Analytics with website
How to integrate Google Analytics with website and enable settings in Google Analytics for tracking various user activities on the website. When we want to monitor visitors’ activity on our website in Google Analytics for that we need to add