Alex Sykes dot com

I'm currently developing this site and including a collection of blog entries giving examples of coding hacks that I have used in developing Joomla components using Llewellyn van der Merwe's Joomla Component Builder framework.

Occasionally, there is the need to create a set of radio button options which are individual for each record. For example, A shoe-shop lists many different shoes which all have the common features of manufacturer, stylename, size, colour and so on. However, some shoes may be available in brown, black and grey - while other shoes may be black, white, grey or red. Obviously, we only wish to offer customers the colour choices which we can supply, so the use of a Custom Field would be appropriate here. The challenge is to create a script which will get the colour choices from the chosen shoe database entry.

Coming soon