Category: Web Development
Integrate Razorpay in CakePHP application
Integrate Razorpay in CakePHP application Step 1: Create Razor Pay Account First of all you need a test account for Razorpay integration. Click the below link https://dashboard.razorpay.com/#/access/signup and set up a test account there: Step 2: Get your API Keys:
How to use Bootstrap pagination
How to use Bootstrap pagination Steps to use Bootstrap pagination: 1. Create a simple html file. 2. Include bootstrap css and js CDN link in html file. Example : <!doctype html> <html lang=”en”> <head> <!– Required meta tags –> <meta
Some important features in Laravel Framework
Some important features in Laravel Framework 1. Artisan: Artisan is a command-line interface tool which is provided by laravel. By using this tool, users can create database structure. It is also used for creating the MVC files right away which
Drag and Drop in Jquery UI
Drag and Drop in Jquery UI Problem: Jquery UI provides APIs to make DOM elements draggable and droppable. We can do some things out of the box by using its APIs. I have written a Jquery code below in which
Allow the Cross Origin Request (CORS)
Cross Origin issue is resolved by adding header(“Access-Control-Allow-Origin: http://yoursite.com”); to allow the particular origin or we can also allow all the origin by replacing the path to *. For Cake php header is defined in file public/index.php. Code: header(“Access-Control-Allow-Origin: http://yoursite.com”);
Creating a Lightning Custom Page/App
We can access different features of Salesforce on a single page by building a custom Lightning App: 1. Multiple features of salesforce on one page 2. Custom homepage 3. Edit layout of objects like adding tabs, flows, hierarchy etc. Steps
Introducing WordPress versions 4.9.4 and 4.9.5
WordPress Version 4.9.5 WordPress 4.9.5 is released on 3rd April 2018. This version is released to fix the security issues. There were three major security issues which are solved by the WordPress community in this version: 1. Don’t treat localhost as
Salesforce | Read csv file, insert objects and get results back in Apex visualforce page
If you have a csv file with raw data and you want to read it using apex, convert to sfdc objects and insert these, then get success and failure results back then following steps and code can help you:
How to animate objects using @keyframes CSS3 rules
CSS3 provides us a way to animate our objects using @keyframes css rule. In the below example we will animate a spinner using @keyframes rule. Steps: 1. Create an html page and add below HTML5 section element to it: <section