Category: Mobile
Call third party JSON webservice in cakephp 3.0
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
Cakephp | URL routing using prefix after domain name
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
Firefox not responding
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
Moodle / PHP | The uploaded file exceeds the upload_max_filesize directive in php.ini
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
Zoho Creator | post data to external URL and redirect there
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
Zoho | Integration with Google Maps
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
Ubuntu Linux | Using ‘alias’ for a set of commands
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
Moodle / Totara | Enable completion tracking features at course level
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
Java | Unable to add data to list created with Collections.emptyList()
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