Zoho CRM | Reduce API call consumption

Author - Webner

This is a simple idea to reduce API calls consumption when you pull data from Zoho CRM into an integrated piece of code (like server side code in PHP or Java that connects to Zoho CRM to retrieve records). In one of the projects we were working on, we had Read more…

Run embedded batch files

Author - Kiran Preet

In one of the projects we had a batch file which runs another batch file within it in a loop. This was not working. It used to run once and then used to get stuck.

This is sample code of the outer batch file:

outer.bat:
cd/
cd Read more…

PHP | Clone arrays containing objects

Author - Webner

In PHP you need deep cloning to clone arrays containing objects.

Suppose we have $cold_items as an array of objects. To clone it appropriately so that while changing the values in one array does not impact the other one, use code like this:
$clonedArray = array();
foreach ($cold_items as Read more…

Java | Shallow and Deep comparison of objects

Author - Webner

There are two types of object comparison in java – shallow and deep.

when you use ‘==’ operator, you are comparing the references for equality. It means you are comparing memory addresses of the objects. It is called shallow comparison.

When you use .equals() you are comparing the object values themselves for Read more…

Call third party JSON webservice in cakephp 3.0

Author - Webner

To call third-party web service in CakePHP 3.0. You can use Http client available in CakePHP core lib (CakeNetworkHttpClient).

Include CakeNetworkHttpClient in your controller.
use CakeNetworkHttpClient;

Here is the method to call third-party web service. You can use this method on any controller. Data should be in Read more…

Cakephp | URL routing using prefix after domain name

Author - Webner

Routes in an application are configured in app/Config/routes.php. Defining your own routes allows you to define where your application will take the control to for a given URL.

Default routing is like this:

domain/controller/action
Ex. www.xyz.com/user/login

Prefix routing will add a Read more…

Firefox not responding

Author - Manju Kashyap
|
0 Comments
|

If you are trying to open a URL in Firefox but it is into long loading cycle and eventually stops responding, then you can try solution given here.

This issue can be caused by corrupt cookies or cache. In order to try to fix this problem clear both cookies and Read more…

Moodle / PHP | The uploaded file exceeds the upload_max_filesize directive in php.ini

Author - Webner

How to increase the value of ‘upload_max_filesize’ variable to upload a file/plugin of larger size.

We were trying to install a new plugin with size of approx 3.5 mb in our moodle site. It was showing an error:”The uploaded file exceeds the upload_max_filesize directive in php.ini Read more…

Zoho Creator | post data to external URL and redirect there

Author - Webner

In zoho creator, we have postURL function to post the data to an external URL but it receives a response back instead of transferring control to the external webpage. For redirection Zoho provides openURL function in zoho creator with which we can send the data to another url by passing Read more…

Zoho | Integration with Google Maps

Author - Webner
|
0 Comments
|

Problem: Create Google Map with in Zoho and pass address as an arguments to see the Directions on Google map. Also how to find the distance between Source and Destination address.
Solution: To create google map and get directions on the Map all you need is Read more…

Ubuntu Linux | Using ‘alias’ for a set of commands

Author - Webner

If you run a set of commands on regular basis you can use Ubuntu ‘alias’ command to create an alias for entire set and use the alias name in future. For example these are a set of commands to compile a project and copy resulting .war file it to a Read more…

Moodle / Totara | Enable completion tracking features at course level

Author - Webner
|
0 Comments
|

In Moodle / Totara site administrator can enable tracking of course completion based on various conditions. To use this setting we need to turn on course completion tracking using the following steps below:

Step – I

1. Login as admin to Moodle / Totara.

2. Go to Site Administration > Advanced Read more…

Java | Unable to add data to list created with Collections.emptyList()

Author - Webner

If you initialize a List in Java with method Collections.emptyList(), you will not be able to add data to this list. You will not get any exception if you try to add data to it, but data will not be added.
The reason here is that Collections.emptyList() returns Read more…

Adobe Captivate | How to Publish the project for an LMS

Author - Webner
|
0 Comments
|

These are the steps to publish a project created in Adobe Captivate for a Learning Management System like Moodle, Totara or Blackboard:

1. Open your Adobe Captivate project.
2. Select File > Publish.
3. In the Publish as drop-down, select HTML5/SWF (project file will be exported in the Read more…

Air Gapping | Mobile app connectivity with localhost services

Author - Webner

When we were trying to connect an android app with the php localhost services it was giving an error: cannot connect to the server please check your network connection.
Code independently was working but not when we were connecting Android app to localhost code. It was working on uploading the Read more…

Chargify.com | Steps to generate API key

Author - Webner
|
0 Comments
|

Chargify.com gives the ability for recurring billing and subscription-based charges. It supports integration with several payment gateways. In this document we are explaining how to generate Chargify API key for a domain/sub-domain name. Chargify API key is required to integrate Chargify through code:

1.Create account Read more…

Heroku – Find out database backup retained limit

Author - Webner
|
0 Comments
|

To see the database backup retained limit see the steps followed below:

1. Login into heroku.

2.Now click the database you are using. As you can see in the below screenshot database name is Heroku Postgres – Charcoal and it is Hobby Basic and it is purchased with Read more…

Html5 | Browser compatibility of some new attributes

Author - Webner
|
0 Comments
|

 

HTML5 form attribute
Firefox 6+
Safari 5+
Chrome 6+
IE 10+

<input type=”text” name=”name” required >

               
Supported
Not Supported
Supported
Supported

Read more…

Adobe Captivate | Slow Performance

Author - Webner
|
0 Comments
|

While working on Captivate after sometime it starts running very slow and stops responding. This problem can be overcome by clearing the project cache.

Adobe creates a folder “Adobe Captivate Cached Projects” inside the user’s “My Documents” folder. Captivate uses this Project Cache to store data while working on Read more…

Zoho Creator | Relate 2 sub-forms without lookup field

Author - Webner
|
0 Comments
|

In Zoho Creator if you create a form and embed 2 sub-forms inside it, to relate data of one sub-form to that of the other sub-form one option is to use a lookup field of 1 form in the other. For example if we have sub-form 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 Next page ›
Send your message