Jquery | Display progress circle according to percentage

Author - Ishpreet Kaur
|
0 Comments
|

Display Progress Circle according to Percentage on Web page

Sometimes, the requirement arises to display progress circle with the percentage value.

For example :

1. Various social networking or professional websites depict the percentage of user profile completed with a circular progress bar.
2. In online shopping website percentage Read more…

Capture Screenshot of a Webpage from its URL in PHP

Author - Gopi
|
0 Comments
|

Generally, Google PageSpeed Insights API is used to measure the performance of a web page but you can also use Google PageSpeed Insights API to get a screenshot of the website from URL. In this post, we will show you how to capture a screenshot of the webpage using its Read more…

Quick Parts in Ms-Word and Office 365

Author - Sukhpreet
|
0 Comments
|

Quick Parts

This feature is available in Ms-Word and Office 365 and it helps the user to set a shortcut of the content which user usually types every day so instead of typing, again and again, the same thing user can create a quick part of this Read more…

Assure vs Ensure vs Insure

Author - Webner
|
1 Comment
|

In insurance which one is the right word when it comes to Assure vs Insure?  When you want to make something certain which one do you pick from Assure vs Ensure? It can get confusing, right? Here’s some help in this post:

Insure means to cover the risk through Read more…

Postgres | Function to remove HTML tags from text

Author - Kailash
|
0 Comments
|

Problem : How to create a function in Postgres that will remove HTML tags from a piece of text?

Solution : Create function in postgres :
CREATE OR REPLACE FUNCTION strip_tags(TEXT) RETURNS TEXT AS $$
SELECT regexp_replace($1, ‘<[^>]*>’, ”, ‘g’)
$$ LANGUAGE SQL;

How to use :
SELECT strip_tags(‘<div>Kailash Read more…

Customizing TinyMCE Editor

Author - Sahil
|
0 Comments
|

1.  Add your own CSS for Editor content.

Content inside the editor will have its inline embedded CSS styling. Once you write any content inside editor it cannot contain any external CSS. If you want to write some content inside the editor and embed your own CSS style Read more…

Javascript | How to lighten a color by some percentage

Author - Webner
|
0 Comments
|

We can lighten any color using a custom javascript function:
function shadeColor(color, percent) {
var R = parseInt(color.substring(1,3),16);
var G = parseInt(color.substring(3,5),16);
var B = parseInt(color.substring(5,7),16);

R = parseInt(R * (100 + percent) / 100);
G = parseInt(G * (100 Read more…

Salesforce Email to Case

Author - Kiran Preet
|
0 Comments
|

Email to case is a standard feature in Salesforce that allows creating a case in Salesforce directly from an email.

First step is to generate the email address in salesforce that needs to receive emails that should be converted into cases.

Steps for email to case :Read more…

Allow WordPress to Duplicate Page or Post

Author - Komal

In WordPress, sometimes a situation occurs when we need to recreate a page with very similar content or design of another page. Then instead of recreating a page from scratch we can duplicate or clone a page and can modify it accordingly. But not all the WordPress themes provide facility Read more…

Captivate | Remove strange captivate icon from text

Author - Kajal Marwaha
|
0 Comments
|

We had faced an issue of captivate icon displaying in quiz question while viewing it in browser :

We can resolve this issue by using these two alternative methods :

1. First way is if we give equivalent space around the text then the captivate icon gets removed automatically.

2. Second way Read more…

WordPress | Using PHP Session

Author - Mamta
|
0 Comments
|

Many times it may happen that you create session variables in a particular code of the WordPress site and you are not able to access that session variable in any other part of the site except in your custom code. So here are the solutions you can apply to solve Read more…

Moodle | Steps to create a custom theme

Author - Kritika Sood
|
0 Comments
|

In moodle we can create new theme using existing theme and customise them according to user requirements. We can create new theme from scratch or by using existing theme. We can customize their front page, course page and activity pages as per requirements. In one of the projects, we were Read more…

Safari | Error: Missing CSRF token cookie

Author - Pawandeep
|
0 Comments
|

Error : Missing CSRF token cookie
Failed to load resource : the server responded with a status of 403 (Forbidden) on “SAFARI”

Solution :
This error occured when I opened a website in safari browser. This error shows because new version of safari does not allow to store third-party cookies Read more…

Salesforce | Handling View state problem

Author - Navdeep Kaur
|
0 Comments
|

Display more than 10,000 records by Handling View state problem (only 132 kb data displayed on vf page).

Problem statement : Displaying more than 50,000 records in the table.

Solution : This issue has been resolved by pagination of the table.

Apex class Read more…

Gravity Forms | ADF/XML format – notification getting html tags

Author - Komal

ADF XML FORMAT

ADF XML format stands for Auto-lead Data Format XML that is an automotive retailing industry standard data delivery format for import and export of automotive customer leads. This format is used as a way to format the customer data so that the heterogeneous systems Read more…

Configure PHPMYADMIN to connect to different servers

Author - Ashish

Here are the steps to set up PHPMYADMIN to connect to database servers located at different ip addresses:

1. Open config.inc.php located in C:\xampp\phpMyAdmin directory in windows and located in /etc/phpmyadmin directory in Ubuntu.

2. Add the below written code at the end of the Read more…

Devextreme | Invoke Custom Loader on click of any button

Author - Harleen Kaur

Invoke Inbuilt Custom Loader in Devextreme Mvc datagrid on ‘Save’ click from Insert popup.

In Devextreme Mvc datagrid, I used the Popup mode for adding new data with the following way to make api controller call on Insert Action. Below is the general structure for the devextreme Mvc datagrid :

@(Html Read more…

MySql | Show only columns as rows which have specific value

Author - Ishpreet Kaur
|
0 Comments
|

Sometimes, we want to show only those columns which have specific value. Let’s assume we have following table :

In the above table, value of 1 in a column represents that corresponding service is provided by organization and 0 represents service is not provided by the organization.

In the above Read more…

CakePHP | Get user profile information through Gmail API (2.2.0)

Author - Webner
|
0 Comments
|

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 Google+ API Read more…

WordPress | How To Add Custom Color Picker in WordPress Custom Options Panel

Author - Komal
|
0 Comments
|

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&gt Read more…

‹ Prev page1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 Next page ›