Archives
Welcome to the archives. To find what you are looking for you can use the search box, view all the articles below or find articles with certain tags.
Random Banner Script using PHP
Written on 08/27 • 0 Comments
I wanted to start alternating the banner advertisements on this site so started looking around for the simplest way to randomly display a different banner in my case a few lines of code that included the link, image and some text. I found a number of scripts that all seemed a bit clunky. I started thinking there must be a better simpler way.
Continue ReadingFree Joomla Blockquote Module
Written on 07/30 • 0 Comments
Download the latest version of the blockquote module. Blockquote is a simple extension that allows you to add your own custom quote to any module position in your Joomla install and have it displayed in the front end.
Continue ReadingMove Related Products to Centre Column in Magento
Written on 07/09 • 3 Comments
The default theme for Magento has the related products block on the left hand side which is not necessarily the best place for it. A more logical place to put related products is under the product description in the center column. It is simple to move the related products block but you need to know where to look.
Continue ReadingPassword Protecting Your Site with htaccess
Written on 07/02 • 0 Comments
It is sometimes handy to be able to password protect your pages or an entire site. Maybe you're building a new site, but you only want yourself and client to be able to view the work-in-progress. Apache allows you to fairly easily add password protect an entire site, folder or individual file.
Continue ReadingSimple Share on Twitter Social Link
Written on 06/25 • 0 Comments
At the moment it seems to be fashionable to add social networking links to your website. Recently a client wanted a quick and simple link to share a post on Twitter. The Twitter API is comprehensive but can be daunting for those with less advanced coding skills.
Continue ReadingFixing a Broken Contact Form on a Joomla Site
Written on 06/18 • 1 Comments
If you are having the same problem as I have had with the Joomla contact form not delivering the mail to your email address maybe this solution can help. This problem only occurs under certain circumstances. You Joomla site is hosted on one webserver, your mail is on another and your DNS records on another. This circumstance is more common than you would expect, say you register your domain with 123-reg and enter your MX records here, your site is hosted elsewhere and you are using Google Apps (gmail for domains) for your email.
Continue ReadingHomepage Conditional Statements for Joomla 1.5 Templates
Written on 06/11 • 1 Comments
Jommla 1.5 the popular content management system (CMS) is built using PHP allowing you to use conditional statements within your templates to further control site. A common requirement is to determine if we are on the homepage. There are a few ways of doing this as outlined in this article using different conditions.
Continue ReadingRedirecting Visitors to a Holding Page while you Develop a New Site (Apache)
Written on 05/21 • 0 Comments
When you are uploading and testing a new site on the same domain as an existing site you need to keep the public from seeing a part finished site while you are uploading the files and sorting out any problems.
Continue ReadingExport Excel CSVs with Double Quotes
Written on 04/09 • 0 Comments
Excel allows you to save spreadsheets using CSV file format. This particularly helpful as you or your client may have data, say a product catalogue, that can be imported into another application. Continuing the example you may want to import this data into a shopping cart system like Magento. This all sounds good so far but Microsoft in their wisdom don't allow you to alter preferences for the CSV file format. Excel does it's own thing and if that does not match your way or the software you want to import the data into then things get a little more complicated.
Continue ReadingGranting Database Privileges in MySQL via SSH
Written on 03/26 • 1 Comments
This week I experienced some problems installing Magento the Open Source shopping cart system onto a dedicated server hosted by Wedfusion. The installation seemed to go well until just after the database was populated by the installer script. All the tables were created as expected but Magento produced a rather unhelpful general error. After some investigation it turned out that the issue was occurring because by default a database created in the server control panel do not assign the CREATE TEMPORARY TABLES privilege to the database user. To fix the issue all I needed to do was add the privilege to the user and the installer then works flawlessly. Below are some simple instruction on granting privileges in MySQL via SSH.
Continue ReadingCreate a Simple CSS Pin Map with Ease
Written on 03/19 • 1 Comments
It is easy to create a map with pins that you can position to correspond to a point of interest then hyperlink the pin to another page or get creative and use javascript to trigger an event. In this example we have a map of the UK with pins positioned roughly over the top ten cities by population. The pins link to the cities Wikipedia page and use the title attribute to show the name when hovering over the pin. This is a bare bones example for you to build on, you could use image sprites to change the image of the pin to a marker of your choice or use javascript to create information bubbles when you mouse over the marker the choice is up to you.
Continue ReadingAnimating with Javascript Fish Tank
Written on 02/26 • 1 Comments
Using Javascript to create some movement on a page can be accomplished with a bit of maths. The advantage of using Javascript for very simple animations is that a higher proportion of users have Javascript available then have Flash installed.
Continue ReadingMake a Dotted or Dashed Line in Photoshop follow a Path
Written on 02/12 • 0 Comments
Drawing a dotted line is easy in Illustrator. You just change it in the stroke palette. You would think it was just as easy in Photoshop but it is a little bit trickier. This short tutorial aims to show you how to quickly make a dotted or dashed line in Photoshop and then apply it to a curve.
Continue ReadingSimple two line Image Randomiser Script with jQuery
Written on 02/05 • 0 Comments
It's a common task adding a random header or banner for each page view. If you are already utilizing the jQuery library you can add just two lines or if not you have a few more lines to get the job done.
Continue ReadingChecklist of Things to Remember when Launching a Website
Written on 01/22 • 0 Comments
There are a few of these lists around on the internet giving people advice on what they should check before they launch a website but most contain things that should be thought about from the very start. If you have forgotten about browser testing, screen resolutions & progressive enhancement until you are ready to launch you should take a look at how you are going about the whole build process.
Continue ReadingPage 1 of 4 pages 1 2 3 > Last »
Try a sample pack of 10 Business Cards for free from MOO
Upload images for the first side of your card. Choose up to 10 different images or designs. We accept high resolution JPEG, PNG, GIF or PDF files. Free standard shipping is included.
Mint