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…
How to send an error message from trigger back to the layout and display it on the record detail page. You need to use addError method for this.
For example :
errorMsg=’Some of the catalog courses are not available in LMS.<br/>Please sync them to LMS first Read more…
Tabindex: The tabindex is used to define the sequence for the cursor to move from field to field in an HTML form, to have a control over this flow of the cursor. By default, tab takes the user to the next field created on the page Read more…
Server Side Scripting is – when the user’s request is served by the script on the server to provide customized or dynamic data. Server-side processing on DataTables is that when all the DataTable functions like searching, ordering, pagination etc. are controlled by Server Side. This is used when we Read more…
It is already discussed “What is AutoComplete feature of jQueryUI” in one of my previous blogs. Please refer to following link for description of jQueryUI Autocomplete:
How to add font-awesome progress icon in textbox for autocomplete Jquery-UI plugin
Here, in this blog, I will Read more…
Error: “SEC7111: HTTPS security is compromised by (null)” error in IE11
I recently encountered an issue that a web page does not work in IE11 and throws exception “SEC7111: HTTPS security is compromised by (null)”.
By analyzing the page script, I found that IE threw the exception from Read more…
Use of Branches:
You can create different branches of your working tree with different names. For example if you don’t want to make changes on your working tree (clone repository on your system) you can create a new branch and make changes in it, add new files Read more…
Problem: FPDF which is a php class to generate pdf does not render many HTML tags like <style>,<img>. So it generates an unformatted pdf from HTML content.
Solution: TCPDF solves the problem of not rendering of HTML tags. It is a Read more…