Moodle | Writing HTML content into pdf file and sending the pdf file as attachment

written by : Harleen Kaur (Software Engineer)
|
0 Comments
|

To create a new customized plugin with email functionality and sending a pdf file as attachment requires some simple lines of code with TCPDF library file inside the library directory of moodle. And for performing file operations, filelib.php reference is required. For creating pdf file from HTML content, append Read more…

Software Testing | Identifying bugs in different ways

written by : Sumit Sangha (Software Test Engineer)
|
0 Comments
|

In software testing we have various way to identify the bug/defect. Some of them are as given below:

1. Severity Wise:

* Major: When defect affects major functionality. Ex. – Suppose a Logo text is not Proper that will be affect the company work.
* Minor: When defect affects minor functionality or Read more…

Using Google reCaptcha to authenticate user login on login form

written by : Richa Sharma (Senior Software Engineer)
|
0 Comments
|

Google reCaptcha is a free service API provided by Google to protect your site from unauthorized access, abuses and spam. The API uses advanced risk analysis technique to distinguish among a human being and a bot. The reCaptcha API comes in the form of a widget and it can be Read more…

Some Important new features in html5

written by : Neelam Thakur (Senior Web Designer)
|
0 Comments
|

Semantic tags in HTML 5:-
Semantic tag introduces meaning to the web page rather than just presentation. like

and tags are not semantic tags because these are just used for content presentation in the browser.

These are list of semantic tags:-

// we should use this tag instead of
// represent some Read more…

Salesforce Google drive integration | Upload files from Salesforce to Google drive

written by : Webner
|
0 Comments
|

Follow the below steps for the integration of Salesforce and Google drive (to select files from local and upload to Google drive using Salesforce code):

1. Open Google Drive console. Here is the link for console:-
https://console.developers.google.com/apis

2. Select a project. If you don’t Read more…

Salesforce | Send an email alert to Lead owner after X business hours from Lead Creation timestamp

written by : Shalini Vashist (Development Manager)
|
0 Comments
|

Let’s say our business hours are from 9am to 6pm (Monday to Friday) and if Lead is created at 5pm on Monday an email alert should be sent to LeadOwner at 12am on Tuesday.

You can set your business hours in Salesforce under Company Profile.

Above requirement can be Read more…

Chargify | How to refund for duplicate payments

written by : Manju Kashyap (Senior Software Engineer)
|
0 Comments
|

Description: If any customer has been charged for multiple times for the same month then there is an option in chargify to refund back for a particular transaction. So, if we want to refund for duplicate transaction, we can do that from our chargify account by logging in as merchant Read more…

HTML | Make HTML table sortable on column click

written by : Ashish Gautam (Software Engineer)
|
0 Comments
|

When we need to sort an HTML table on click of any of its column headers then we can use sortable.js.

Download library file sorttable.js.
Add this js file to current page.
Add sortable class to the table for which sorting is required.

If you have many tables Read more…

Importance and Need of child theme in WordPress

written by : Neelam Thakur (Senior Web Designer)
|
0 Comments
|

In wordpress, a child theme is a theme that inherits the functionality and styling of its parent theme.

Child themes are the recommended way of modifying an existing theme (like inheritance in object oriented programming). If we have any theme and we want to modify its header or any other Read more…

Heroku | Fatal error due to PHP 7 and old version of CakePHP

written by : Manju Kashyap (Senior Software Engineer)

Fatal Error on website whenever we were pushing any code change to our website hosted on heroku.

We were suddenly facing a fatal error (error 500) on our website. After making debugger on, it displayed the following error :

After exploring about it, we found that it was due to the Read more…

Cakephp | How to send email using google api (gmail) in cakephp 2.x ?

written by : Webner

How to send email using google api (gmail) in cakephp 2.x?

Ans:-When you send email using google api, you’ll need:

1. Cakephp 2.x
2. A Google account with Gmail enabled.
3. PHPMailer Library.

Download PHPMailer library from below link:-
https://github.com/PHPMailer/PHPMailer
After downloading Read more…

Jquery : Filter array by applying AND & OR logic on checkboxes

written by : Kritika Sood (Software Engineer)
|
0 Comments
|

In one of our projects we have multiple groups of checkboxes and corresponding divs with id as checkbox label. Now we want our checkboxes to perform AND and OR logic .

Eg

<html>
<div id=”_Java_less than 1500_Basic_Dennis Ritchie” class=”6″ style=”display:none;”>content</div Read more…

MySQL Access Denied due to wrong column name

written by : Nitin Pant (System Administrator)
|
0 Comments
|

MySQL access Denied for user while Username and password is correct.

I got this error when I named one of my table columns as “order” which is also a mysql keyword. When tried to rename it, I got the following error on execution.

ERROR 1045 (28000): Access denied for user Read more…

Salesforce | Creating communities in Salesforce

written by : Webner
|
0 Comments
|

Steps to create the communities in salesforce

Click on Setup

Under customize click on communities. Click on all communities.

Click on New community button.

Choose your template according to your requirements. There are 5 templates provided by salesforce. In this example, I have chosen Napili template.This template allows its Read more…

Salesforce: Call Apex Class on Click of Custom Button

written by : Navdeep Kaur (Software Engineer)
|
0 Comments
|

Step1: Create apex class that you want to call (it should be declared global).
Global class Test
{
Webservice static void testMethod()
{
//do something.
}
}

Note: Webservice method must be static.

Global class Test
{
Webservice static void testMethod(String IDD)
{
//do something.
}
}
Step2: Goto–>Setup–>Object–>Buttons, links and Read more…

Java Spring | Verifying against WhiteList IP Addresses (spring 4.0.4)

written by : Rita Sharma (Software Consultant)
|
0 Comments
|

While designing RESTful web services in a Spring-based web application, we may have a requirement that some web services should be allowed to run only from specific IP addresses. Spring framework provides a simple procedure to verify if the incoming IP address in available in the whiteList Address list Read more…

Salesforce | System.LimitException: Too many SOQL queries: 101

written by : Neha Mishra (Software Consultant)
|
0 Comments
|

You may face this exception sometimes in Salesforce:

System.LimitException: Too many SOQL queries: 101

There can be multiple reasons for this exception:

Check if SOQL queries are not written in loops
Check if DML are not called inside a loop.
Check if large number of workflows for field update Read more…

Website Performance Testing using Apache Jmeter

written by : Dixit Soni(Software Test Engineer)
|
0 Comments
|

Performance testing is used to determine that the web application under test will satisfy high load. Apache Jmeter can be used to analyze overall server machine performance under heavy load.

Apache Jmeter Performance test includes:
* Load Test
* Stress Test

Creating a Performance Test Plan in Jmeter

We are going to Read more…

What is Ajax? How to send the request using different Jquery methods?

written by : Webner
|
0 Comments
|

What is Ajax? How to send the request using different Jquery methods ?
Ajax:- Ajax stands for Asynchronous JavaScript and XML. Ajax is a technique for creating fast and dynamic web pages. Ajax allows web pages to be updated asynchronously by exchanging small amounts of data with the server behind the Read more…

Images, Content, scrolling and some other functions not working in Google Chrome (Windows)

written by : Dixit Soni (Software
|
0 Comments
|

Problem: I was facing an issue from the last couple of weeks that the images, content, scrolling and some functions were not working in my browser while testing applications but if I try it with going incognito everything looks great. This issue was mainly with Google Chrome. I tried to Read more…

1 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 Next page ›
Send your message