Here is an example of how to setup your MySQL queries so that they can easily be passed into and parsed by Smarty.
The result set will be a multidimensional array. The first dimension of the array is numeric and represents each row of your result set. The second dimension of the array is an associative [More...]
Here is a simple example to demonstrate an easily maintainable way of setting page loading based on the current URL. It holds all of your available pages in an associative array .. This could easily be pulled from a database.
I have also included template code to generate a simple menu for you.. You could of [More...]
I have just started using the overlib/popup plugin to add some basic help text on my site.. With my current system, templates are not aware of each other, and as a result I need to use the popup_init in multiple places to ensure that the overlib.js is included.
Unfortunately with the current init plugin, this results [More...]