Miguel

Miguel

E-mail: This e-mail address is being protected from spambots. You need JavaScript enabled to view it

 

The user registration process can sometimes be a pain, and visitors are at times not willing to go through the various steps to complete the registration.

Captcha1
Sunday, 24 October 2010 07:41

Creating Joomla module title links

questionthought

Ever wanted to turn the title of a module into a hyperlink?

For this example, I will be using the mod_mainmenu module.

First, we add the necessary parameters to the module XML file, in order to input the link URL through the module manager:

 

Monday, 04 October 2010 07:37

CSS3 @Font-Face Embedding

css3The web is predominantly presented by and viewed in a spectrum of a few fonts, most notably Arial, Times New Roman, Verdana and Courier. These fonts are considered web-safe, purely because every computer has them installed.

 

For years, developers have tried to come up with ways to embed other fonts into websites. The most common of setbacks, is cross-browser compatibility. One such method (and probably the cleanest) of embedding fonts into websites is a technique called @font-face.

 

Even though Internet Explorer supports font embedding since version 4, the font has to be in the proprietary EOT format, and declared specifically for IE.

migratorJoomla has become very popular amongst open source Content Management Solutions. Like most of it’s competitors, it is constantly evolving and it is important to keep your CMS up to date to benefit from the system and security updates.

The latest stable Joomla version available is 1.5.15. Depending on your website requirements, you might have considered upgrading to the latest Joomla version. Here’s how you can achieve such an upgrade with very little downtime.
Monday, 24 May 2010 14:40

Creating a Joomla module

joomlaA basic Joomla module consists of two files, a XML file and a PHP file. The XML file stores information about the module. This information is used by the Joomla installer to install the module, and display the module information in the module manager in the Joomla administration backend.

Additionally, the XML file can contain the module parameters which can be used to configure the module functionality. Below is an example of a XML file for a simple Joomla module:
Monday, 24 May 2010 14:38

Creating a Joomla Template

Making Templates in JoomlaJoomla makes use of templates to present your website information to the frontend user. All templates are stored in a folder entitled templates inside your Joomla installation directory. To create a new template, create a folder and name it mytemplate.

As with all other extensions (components, modules and plugins), Joomla gathers information about your template by reading the XML in your template folder. So let's create our XML file.
Create a new XML file inside the mytemplate folder and name it templateDetails.xml.
Sunday, 18 April 2010 07:05

Pure CSS Lightbox

Pure CSS lightboxLightbox is an application used to display large images inside modal windows. By now, most of us have come across a gallery that makes use of such an application. Clicking on the thumbnail in the gallery, brings up a modal window which displays the larger image.

Over the years, the lightbox has been enhanced to display all sorts of content, not just images. Today, there are numerous lighbox variations available on the web. The Greybox, Lightbox JS, Greased Lightbox, Prototype window class, LITBox, Suckerfish HoverLightbox, Theickerbox, WP Lightbox, and the list goes on.

All of these variations have their particular features. Where some are limited, others excel and vice versa. What is consistent with the different variations is that they all require a Javascript library to perform the desired functionality.

The downside to loading the Javascript library, is that it affects the website load speed which can sometimes be annoying. If you require the same Javascript library to run a number of applications, it makes sense to go this route. But if the sole purpose of the Javascript library, is the lightbox effect, there is a simpler answer, a 100% CSS lighbox effect.
Friday, 26 March 2010 10:08

Images and Databases

3ddatabase

We store all sorts of information in a database table, so why not store your images in the same manner? Well, the reality is that storing images in a database table is messy and the disadvantages convincingly outweigh any possible advantage.

An image cannot be stored in a database table in it’s original format. Instead, it is stored as a binary large object, or a blob. Not every database supports blobs, and if you ever decide to migrate to a different platform, you might find yourself facing a major obstacle.

Monday, 12 April 2010 06:43

Pagination with PHP, MySQL and Ajax


PHP Ajax and MSQL Pagination BlogWhen creating pagination for your website content, there a few factors to consider such as the size and source of the content, the load speed and ease of navigation.

To better explain, I have chosen to write about retrieving data from a SQL database, using PHP. Consider a database table containing information relating to football players in a specific league. The database table could include numerous columns for name, surname, image, player profile, present club, etc. You can see how the database table can easily hold lots of information, especially if you wish to include statistics data for each player.
Tuesday, 26 January 2010 07:43

PHP Excel Reader

PHP Excel ReaderWeb Development PHP and Excel

I recently had a request to setup a payment gateway on a website, so that visitors can purchase online. The website was built using MS Publisher and the products were spread across multiple static html pages. Unlike eCommerce websites, this website had no database populating the product catalogue and no shopping cart. My initial thought was to completely scrap the existing website and develop a database driven website from scratch.

As the cost of development proved to be a key factor, the challenge was clear. Find a cost effective solution for visitors to purchase the available products on the website, without redesigning and redeveloping the website, and still provide an easy "no-knowledge-of-code" way, for the client to update his product list and prices.

The first step was to determine the medium in which the client would provide the product list, secondly, the purchasing process and thirdly, how to populate the form posting to the payment gateway for transaction.

Call Us: +27 11 612 7460