Archive for the ‘php’ Category

explorerTree demo files

Monday, April 6th, 2009

tree.png
To save you some typing, this archive contains a working example of the tree helper code described in the bakery. The archive includes cake 1.2, three images and jquery. In the js-code, some hard-coded paths were corrected. It also contains a file named tree.sql which contains a dump of the database including some sample data.

Cool simple CMS: Pluck!

Monday, December 1st, 2008

Recently I’ve put a simple cms driven website online (www.ik-zie-je.nl). I’ts using Pluck. Pluck is easy to install (doesn’t need a database) and easy to use. It can be extended with custom modules and themes.

CD sleeves on-the-fly!

Wednesday, February 27th, 2008

A while ago, I’ve written a simple web interface around cdlablegen. Cdlabelgen is a perl script that allows you to automatically generate cd and dvd sleeves.
It’s installed on a closed network and my colleagues use it to label their scientific data archive. This is public version is now available on special request of a remote co-worker (company logo removed!).
hoesje.nerdnotes.org

phpMyAdmin timeout

Friday, August 10th, 2007

The phpMyAdmin timeout is quite short by default (about half an hour). Put the following line in config.inc.php to make it longer:

$cfg['LoginCookieValidity'] = 60 * 60 * 24;

This will set the timeout to one day.
Source: dotticontra.org

CakePHP radio button example

Friday, January 26th, 2007

cakephp radio buttons.png
Thanks Ronnie, for the example! It looks like this useful hint won’t appear in the cakephp documentation any time soon. I think is’t “nerdnoteworthy”:

echo $html->radio(
	'User/admin',
	array(
		'no' => 'No',
		'yes' => 'Yes'),
	null,
	array('value' => 'no')
);