web development

Authorization Attribute Validation Issue

Author - Webner
|
0 Comments
|

Authorization attribute validation Issue: 404 status code is returned instead of 401 status code

In my application, I was using an API service to be used by external applications, where I needed to implement the authorization of valid requests by validating the supplied token in the Read more…

Custom column in WooCommerce subscription list

Author - Mamta Sharma
|
0 Comments
|

Adding a custom column in WooCommerce subscription list and search data according to its content using code

There are two ways to add a custom column in the WooCommerce lists i.e. either we can add them using the WordPress plugins or by adding our custom Read more…

ondragenter and ondragleave events

Author - Harleen Kaur
|
0 Comments
|

Customize UI to indicate drag drop effect using events ondragenter and ondragleave

Html5 provides us one of the most useful features of drag-drop. The dragging and dropping of files from OS to your web application becomes very easy using drag-drop capabilities. In this case Read more…

Etag Header in API Response

Author - Manju Kashyap

What is ETag header and how it works?

ETag stands for entity tag. Etag Header is a response header element which provides a mechanism to cache the unchanged resources. Whenever we make an API call, we can use this header value to track if Read more…

Dynamically applying specific Layout to a record on VF page in Salesforce

Author - Umang Pasricha

Dynamically applying specific Layout to a record on VF page in Salesforce

You may need a specific layout to show in a tab for a particular record (like account settings). For this, we can fetch ‘Metadata’ field from Field Definition with SOQL using Tooling API. In Read more…

Install Microsoft Powershell in Ubuntu

Author - Navneet Kashyap
|
0 Comments
|

How to install Powershell in Ubuntu:

PowerShell is Microsoft proprietary and it is a task automation and configuration management framework from Microsoft consisting of a command-line (shell) and associated scripting language but Microsoft provides ways to use this in linux environment also.

Installation via Read more…

How to Detect Mobile devices in php

Author - Gopi Garg

Detect mobile device php code

We often need to detect if site visitor is using an iPad, a smartphone or any other mobile device in order to change website appearance and even make it faster by reducing data load. Normally we use the media queries and Read more…

Totara | How to enroll audience to Course or Program

Author - Varun Chopra

Enrolling audience to Course or Program in Totara

Problem: I want to enroll audience in course/program and I do not know that how we can enroll audience in course/program. To enroll an audience in course/program, I have followed the below steps Read more…

Salesforce SOAP and Bulk API Integration in PHP

Author - Ashish Gautam

Implementing Salesforce SOAP and Bulk API Integration in PHP

Salesforce SOAP API:
Salesforce SOAP API is a coding method to use our Org’s information with the help of inbuilt functions and SOQL query. With the help of these function, we can access or Read more…

Creating custom plugins in wordpress

Author - Mamta Sharma

How to Create a custom plugins in wordpress

What is a WordPress plugin:
A plugin in WordPress is a small software app that can be added to a WordPress site to extend its functionality and to add new features to it without changing its Read more…

Sort query result according to search conditions in CakePHP 2.

Author - Kailash Kumar
|
0 Comments
|

How to sort query result according to various search conditions in fetch query of CakePHP 2.

Problem: Priority based sorting of records

Example: Search a string (“Proposalways StudySection”) and display records in following order:

Contain all words (“Proposalways StudySection”) in Read more…

Using Breadcrumbs in Laravel

Author - Mahesh Kumar
|
0 Comments
|

How to add Breadcrumbs to your Website in Laravel

Breadcrumbs are links used to track and navigate in the website. Generally every page is considered as a link and is arranged in hierarchical order at the top of the website.

We can use breadcrumbs to track Read more…

What is Bootstrap CDN and some common free CDNs?

Author - Kuldeep Singh
|
1 Comment
|

Bootstrap CDN and some common free CDNs

Bootstrap is the most popular front-end framework for developing responsive, mobile first projects on the web. Now I will explain how to use bootstrap CDN in your project.

CDN: CDN is Content Delivery Network. A CDN Read more…

Issue- Dompdf is not supporting Font-Family

Author - Umang Pasricha
|
0 Comments
|

How to resolve the issue of Dompdf is not supporting Font-Family

Problem: We have html with some inline css and we are also importing some files on blade file where we are rendering our html but font families are not supported by Dompdf Read more…

Various Array helper methods in Javascript

Author - Parminder Kaur
|
0 Comments
|

Explanation of various Array helper methods in Javascript with example

The various methods I am going to discuss below are a part of functional programming in Javascript. In functional programming output of the method depends on the arguments passed to the method. In Javascript, we have Read more…

Understanding WordPress Shortcodes

Author - Mamta Sharma

Introduction To WordPress Shortcodes and How to Use them

What is a shortcode?
A shortcode is a WordPress-specific code that lets you do effective things with a very little effort. We can embed the files or can create objects that would normally require Read more…

Understanding Inflector in Cakephp

Author - Parminder Kaur
|
0 Comments
|

Understanding the purpose and usage of Inflector in Cakephp

The Inflector class in cakephp is used to modify single/multi word strings into different formats using its build-in methods. We don’t need to use core php methods such as str_replace if you want to Read more…