Category: Web Development
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
AngularJS 2 with Node.js
AngularJS 2 is the most popular Framework of Javascript which is used to build Web/Mobile applications in html and javascript. AngularJS 2 has the abilities to build apps for web, mobile web, native mobile and native desktop and it has
WordPress | Dynamic database prefix and wpdb
SOLVING DATABASE TABLE PREFIX ISSUE IN WORDPRESS When we create WordPress plugins then we generally need to create new tables for storing some data. As plugin should generally work on any WordPress site so it is important to keep in
Heroku | Heroku cron jobs and CakePHP code
Use Heroku cron jobs to run CakePHP code at fixed intervals of time. Cron is a time-based scheduler used to run commands periodically at fixed intervals. Cron means time. It is used for scheduling repetitive tasks. In order to use
