Where my articles grow up before they go public

Category Your Website

Useful WordPress Contact Form 7 Field Definition Templates

Here are some useful field definitions for use in WordPress Contact Form 7 that are useful when collecting mailing addresses. Canadian Provinces (English / 2 characters ) <p><label for=”province”>Province (required)</label><br> [select* province id:province include_blank “AB” “BC” “MB” “NB” “NL” “NS”… Continue Reading →

Bug in Chrome Renders WordPress Admin Menu Incorrectly (fix included!)

Do you work in WordPress using Chrome? If so, you may have recently noticed that the sidebar admin menu gets messed up bit when you hover over menu items or just work in it for a few minutes. I haven’t… Continue Reading →

Creating Multilingual Moodle Content With mlang Tags

My experience with the Moodle LMS has involved dealing mostly with multilingual sites. Unfortunately there are still many core Moodle plugins and third party plugins and themes that still do not support multilingual content. However the situation is improving with each code… Continue Reading →

Simple PHP debugging tips

Whether you are just getting started in PHP development or have been at it for a while, here are some tips that will help you troubleshoot when your code isn’t working quite the way it should. Post a comment if you… Continue Reading →

About Moodle Forums

The News Forum is a special Moodle forum for general announcements relating individual courses. One of these is automatically included when you create a new course. By default, only teachers and administrators can post in. Students can only read posts… Continue Reading →

Integrating PuTTY and KiTTY into WinSCP

Whether you are doing web development or just need to manage a Linux server, PuTTY and its enhanced fork KiTTY are both great tools to use when you need to connect to a Linux shell command line. While PuTTY is the original… Continue Reading →

Showing Students their Student ID in Moodle

Many people don’t realize that Moodle generates ID’s for every student on the site. Unfortunately there is built-in way to show students their ID. The easiest way to show students their student ID in Moodle without any programming is to use… Continue Reading →

Transfering / copying courses from one Moodle site to another

Here are the steps to transfer your content from an existing Moodle site into another: Backup your courses from the old Moodle. Moodle provides two ways of backing up your courses. You can do this individually or by scheduling an Automated course… Continue Reading →

Poor Man’s Camtasia in Windows 7

Camtasia by TechSmith is by far the best screen recorder available today. Unfortunately it also comes with a premium price tag which, while great value to professionals, might not be affordable to everyone. Here is how you can use free… Continue Reading →

Developers – How to get started in Moodle development

For developers just getting started in Moodle development, testing and fixing 3rd party Moodle plugins which are not currently supported the latest version of Moodle is a great way to get started on your way to learning how Moodle works. These plugins… Continue Reading →

Making Print Screen Screenshots in Windows

You can capture a screenshot of almost anything that appears on your computer by using any of the following methods in Windows: There is a great free tool called Greenshot that works with the Print Screen button. It allows you to capture any part of… Continue Reading →

Tips for Customizing the Layout of NetBeans for Productive Debugging in PHP

Here are a few productivity tips to make editing and debugging PHP code easier in NetBeans by just modifying the editor’s layout. Display the NetBeans Debugging Window Click Window > Debugging and select the desired debugging tabs. In NetBeans 8.0,… Continue Reading →

Sending Custom Emails in Moodle Using the email_to_user() Function

You can send custom emails from within Moodle using PHP using your own forms using the email_to_user() function. By the way, did you know that Moodle actually uses the open source PHPMailer behind the scenes? A typical call to Moodle’s email_to_user()… Continue Reading →

Debugging in JavaScript

One of the most popular ways of debugging in JavaScript when you are just getting started is to use the JavaScript alert() and input() functions. However there are times when clicking OK repeatedly can become tedious not to mention time… Continue Reading →

When not to use Chrome for Web Development

One of the situations where you shouldn’t use Chrome is when you want to get a snapshot of the HTML for the purpose of copying and pasting it into the W3C Markup Validator. When it comes to viewing the source… Continue Reading →

Making XDEBUG work with NetBeans on Windows

After spending way more time that I should like to admit trying to get XDEBUG to work with Notepad++ using the DBGp plugin in anything but the simplest of projects, I decided to look for an alternative. I compared features… Continue Reading →

How to upgrade MySQL to MariaDB in XAMPP in 5 minutes on Windows

Here are the steps I used to to upgrad MySQL to MariaDB in XAMPP on Windows in about 5 minutes. After completing this process, MariaDB will look and work just like MySQL. You may even notice a performance increase in… Continue Reading →

New “Text Document” context menu missing after associating Notepad++ with .txt files

Shortly after associating Notepad++ with .txt files, I noticed that the Text Document option had disappeared from the Windows Explorer menu. Using regedit, I took a look in the Windows registry: HKEY_CLASSES_ROOT\.txt The first thing I noticed was that the registry… Continue Reading →

Introduction to JavaScript Debugging Techniques using Developer Tools

Most modern web browsers today, like Chrome, Firefox and Internet Explorer, come with an integrated JavaScript debugger. If you’ve never one of these debuggers but do program in JavaScript, it will be well worth the few minutes of your time… Continue Reading →

Building Your Mailing List by Offering Free Downloads in WordPress

Offering a free eBook or other digital download on your website is a great way to build your email mailing list which you can then use for any number of business building purposes. Here are a few ways you can do this using Wordpress. Some… Continue Reading →

Upgrading Moodle packages for Windows (XAMPP Control Panel, PHP, phpMyAdmin, Apache, MySQL)

Moodle 2.3 to 2.6.1+ for Windows comes with pieces of XAMPP 1.7.4. Although it works well, the version of PHP that comes included with it is buggy, lacks some key features for development such as a modern control panel and… Continue Reading →

Git for Moodle Developers on Windows

The Git for Developers page on Moodle.org is pretty helpful in getting you started in developing for the Moodle LMS platform. However if you need to use Git on Windows for your Moodle development, there are some differences as the… Continue Reading →

Add WinMerge to WinSCP to Compare Local and Remote Files

I love using WinSCP for so many reasons. One of the many really cool features of WinSCP is the ability to add custom commands. In this article, I will describe how to integrate WinMerge into WinSCP to compare a local… Continue Reading →

Reparing Windows 7

Here are a few links to tools and help to guide you through repairing Windows 7. IMPORTANT: Use at your own risk. Always backup your computer before trying these as they can potentially make the situation worse or even impossible to use… Continue Reading →

Setting Up Pure-FTPd in Ubuntu

vsFTPd, ProFTPD and PureFTPd are great choices for an FTP server that all work well. Each has a GUI applications available to help manage settings. However PureFTPd is lightweight, supports MLST/MLSD, supports virtual folders using symbolic links (symlinks) and supports the SITE UTIME command required to… Continue Reading →

« Older posts Newer posts »

Copyright © 2024 TNG Consulting Inc.

Theme by Anders NorenUp ↑