Build tools like maven, ant etc are used to download project’s dependent jar libraries required in web application development environment. But what about client-side dependencies like jquery, bootstrap, fonts, css, angular js etc. They are front-end dependencies which we have to download manually before using in projects Read more…
Problem: Mysql access denied error for user root@localhost when using in XAMPP server (windows) even when credentials are correct.
Solution: Actually the problem is not in code, the issue is that by-default mysql in xampp allowed passwordless authentication in mysql, so we have to Read more…
How to resolve following GrapesJS editor issues:
1. GrapesJS not working in Safari web browser
2. Local Storage exceeding issue
GrapesJS not working on Safari web browser:
When the editor is opened in Safari, we see nothing only a blank page with this error in console Read more…
In Laravel, when a user directly accesses a post route then an exception page is shown. How to show a 404 page instead?
To fix this issue :
Firstly, you need to create an error page in view folder of your project like 404.blade.php and Read more…
Google Analytics: Google Analytics is a free Web analytics service offered by google that tracks and reports website traffic. The service is available to anyone with a Google account.
Why every website owner needs Google Analytics: These are some statistics that you can collect with Google Read more…
To send an email in cakephp use Email class of Cakephp 3. In app.php under config folder, add a new entry in the table EmailTransport.
For example here ‘mail’. Specify host, port, username and password in it:
‘EmailTransport’ => [
‘default’ => [
‘className’ => ‘Mail’,
// The following keys are used Read more…
Sometimes situation arises when we have to show the ratings on our site like user rating of all the products available on our site. Then we have to first get the rating from where we have it like sometimes it may be from the third party etc. Once we have Read more…
These are the steps to upgrade to PHP 5.6:
Add the PPA containing version 5.6 of php for Ubuntu 12.04:
sudo apt-add-repository ppa:ondrej/php5-5.6
sudo apt-add-repository ppa:ondrej/php5
Run these command in terminal to upgrade php :
sudo apt-get Read more…
How to display remotely hosted HTML content as SCORM package in Moodle, Totara or any other LMS?
SCORM requires the content to be served from the same domain as the SCORM player or the Learning Management System (like Moodle, Totara) in use otherwise it Read more…
C# : Triggering the Local Outlook for forward, reply and reply all actions from existing .msg file
For the desktop based applications when user is dealing with the store outlook files in msg format we can open local outlook when required.
In outlook when we open a email message Read more…
While implementing a custom plugin in wordpress, we can simply add submenu items for our plugin by this code:
public function PluginMenu()
$this->my_plugin_screen_name = add_menu_page(
But in wordpress, if we add any submenu items to the plugin Read more…
Why we need to code properly because a well written code not only does its job well but is also easy to extend, maintain and debug. So here are some key points:
1. Follow a consistent coding standard:
There are a lot of coding standards, follow one of Read more…
In WordPress, each user profile has many fields like first name,last name, website url etc which are almost sufficient to get the user information. We also have the user’s contact info like his email address but still sometimes situation arises when we need some extra information from the Read more…
When we deploy an application from staging / testing server to live / production environment, tester needs to test the application again in production environment no matter if he has already tested the whole application in staging environment.
Why there is a need to do testing in production environment? Some reasons Read more…
In Moodle a course can have multiple sections and each section can have multiple activities in it. Moodle provides access restrictions feature in course in which we can impose some restrictions to section or activity based on date, completion, group ,score etc. If a user does not satisfy the required Read more…
Scenario : We have the situation where we want to create a backup of all the contacts in Salesforce on daily basis to AWS S3. We are using PHP code to create files according to the desired criteria and upload them to AWS S3. A crucial step is to Read more…
Every developer/designer should be aware of some developer tools and extensions available in the chrome browser.
Accessing the DevTools :
Select the Read more…
What is Webkit?
There are two ways to edit the question content in Captivate question pool :
1. First way is by enabling custom workspace settings. You can enable workspace settings with these steps :
a.) Click on Edit>Preferences on top menu bar like this :
b.) After clicking preferences menu item following window Read more…