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…

Understanding Speculative and Pure Risk in Insurance

Author - Webner
|
0 Comments
|

Insurance is to cover the financial risk but what type of risk can be insured? Can risk in gambling be insured or a startup business or a stock investment? No because risk in such endeavours is with the intention to make gains. What if the gain is not made, should 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…

Insurance Overview

Author - Webner
|
0 Comments
|

Business of insurance runs on probability. If there are 10000 cars each driven by a different driver, there is a certain possibility (risk) that 1 or more of these cars will be hit in an accident within next 1 year. How many of these cars will be hit is not 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…

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

Author - Shalini
|
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

Author - Neelam

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

Author - Parminder Kaur
|
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

Author - Kailash
|
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

Author - Parminder Kaur
|
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

Author - Tanuj

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…

‹ 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 Next page ›