Flipflops.org – Web Development and bit of Art Rotating Header Image

Posts from ‘April, 2007’

Flip-Gallery 0.2 – a gallery plugin for WordPress

My gallery plugin for WordPress Flip-Gallery is finally ready, and you can download it from here.
Flip-Gallery uses a tewaked version of Thickbox, the UI display widget built on the jQuery JavaScript Library.
Flip-Gallery is a simple image gallery. You can configure and use it entirely through the WordPress admin interface. It consists of two main parts: [...]

Modified Muliple Checkbox Helper

I’ve been getting some very odd results with Joshua McFarrens excellent checkbox helper and ended up having to modify it slightly to get it to work. Here is my revised version:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
 
<?php
class HabtmHelper extends HtmlHelper {
 
/**
* Returns a list of checkboxes.
[...]

The Really Happy Song

We have finally managed to locate the ‘ Really Happy Song ‘ it is called ‘Words’ and it is by the Doves (love the music, shame about the website eh?) from the album ‘The Last Broadcast’.
Here is a link to irritatingly short little snippet of the song: http://media3.7digital.com/assets/35/6745.asx

HABTM / Checkbox working example

Reading the CakePHP group messages, a lot of people seem to run into problems with creating HABTM relationships and changing from the default multipleSelect to using a series of checkboxes. In an app I was building I ran into a brick wall where I just wasn’t able to find out waht was wrong so I [...]

Session Error in Cake App

I have spent the past 24 hours pulling my hair out over a very odd error in a CakePHP application I have been developing.
I had an app called training, so my directory structure looked like this (the training app was generated using bake)

I had copied large amounts of code from another cake site that I [...]