Salesforce | Handling View state problem

written by : Navdeep Kaur (Software Engineer)
|
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

written by : Komal Dhiman (Software Engineer)

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

written by : Ashish Gautam (Software Engineer)

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

written by : Harleen Kaur (Software Engineer)

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

written by : Ishpreet Kaur (Senior Software Engineer)
|
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)

written by : Webner
|
0 Comments
|

Steps to extract user profile information through Gmail API (2.2.0) in CakePHP:

Step1: 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. You will Read more…

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

written by : Komal Dhiman (Software Engineer)
|
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…

Salesforce | Roll back changes or delete unused classes/triggers from Production

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

There are two most common ways to revert your changes back to Salesforce sandbox from production:

1.) Force.com IDE
2.) Salesforce Migration tool (ANT)

Using Force.com IDE :

If you are already using force.com IDE then you can go for this option to delete components from production.

Below Read more…

Some Useful Features from jquery and Html5

written by : Neelam Thakur (Senior Web Designer)

1. Data attribute :

This is the new attribute in html5. Using data attribute we can store custom data in any of the html elements. Data attribute consists of a prefix “data-” and a unique name appended to the prefix. Major use of data attribute can be found when html elements Read more…

CakePHP | Date format translation using internationalization

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

In Cakephp, To translate the application language into another, we use internationalization and localization. To display the correct translated date string on change of locale, we need to use right classes.

use Cake\I18n\I18n;
use Cake\I18n\Time;

I18n::Locale(‘es’’); // es locale is for Spanish
$date = ‘2017-08 Read more…

Moodle | Totara | Create bulk enrollments from command line

written by : Kailash Kumar (Software Engineer)
|
0 Comments
|

1. Go Home ► Site administration ► Development ► Debugging and set Debug messages with “DEVELOPER: extra debug messages for developers”.

2. Create a testcourse.bash file in root directory with :

for i in {1..100}
do
var=”Course_from_script_$i”
echo $var
php admin/tool/generator/cli/maketestcourse.php –shortname=$var –size=S Read more…

MySql Multi-table Join Query using Cakephp 3

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

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 Topics Table.

In cakephp 3, we Read more…

How to create Subscriptions in cybersource Payment Gateway

written by : Tanuj Sharma (Software Engineer)

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 an API call and corresponding to that request cybersource will Read more…

How to change wordpress multisite Subdomain to subdirectory

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

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 :

1. Firstly Read more…

SSL certificate problem: unable to get local issuer certificate

written by : Navneet Kashyap (Senior System Administrator)
|
0 Comments
|

Problem :
Error comes when trying to use https with url on xampp server, error “SSL certificate problem: unable to get local issuer certificate”.

Solutions:
you need to follow below mentioned steps:

1. Stop apache service from xampp control panel.

2. Either generate a new self signed certificate or Read more…

Upgrading Liquid files from 2.x.x to 3.x.x (on new machine)

written by : Navneet Kashyap (Senior System Administrator)
|
0 Comments
|

Below are the steps to migrate liquid files from 2.x (old machine) to 3.x (new machine)

Command on old machine :

# ft migrate

1. Migrate to this system

2. Migrate from this system

3. Cancel

? 2

This will enable you to migrate the data and the configuration Read more…

Jquery | $ is not defined – Solving JQuery Conflict

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

Piwik analytics is a open source analytic platform. Piwik provides APIs to manipulate and fetch analytics data and one can also create their custom APIs for same purpose. There are many APIs available in PIWIK but here I will explain Module Live API.

The Live API lets you access complete Read more…

Jquery | $ is not defined – Solving JQuery Conflict

written by : Deepika Saini (Software Engineer)
|
0 Comments
|

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 and if we try to use some functions from previous library using Read more…

Zoho | How to configure territories in zoho

written by : Webner
|
0 Comments
|

What is Territory?
Territories in Zoho can be used to create groups of customers/accounts on the basis of region, product etc and then a staff member of organization can be permitted to have visibility into accounts of a particular Territory only.

For example:
We want Accounts which Read more…

SQL Transaction in Cakephp 3

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

SQL transaction in Cakephp 3 is a series of statements working in a logical order to handle database errors and ensure data integrity. There are four main methods being used in Sql transaction in Cakephp 3.

1. Initialize the statement using begin() method.

2. Execute the statement which 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 32 33 34 35 36 Next page ›
Send your message