• Subscribe Subscribe

Musings of ErisDS
ErisDS

Spotlight: Wordpress Pods Plugin

A great CMS plugin for Wordpress & why I prefer it to Flutter

Wordpress Pods CMS PluginHave you ever needed to build a website which fit into the “Posts & Page” paradigm of Wordpress 95%, but also needed one or two bits of extra content? I often need to build sites that have a quote/testimonial or banner image tied to individual pages & displayed in the template separately to "the_content()". This is fine in Wordpress as long as it remains a one-to-one relationship as it can easily be achieved with custom fields (and check out the More Fields plugin for handling this), but achieving a one-to-many or many-to-many relationship in Wordpress requires some more dramatic extension.

This is a pretty silly & out of the norm post for me, but what the hell! Whilst in Stitch’s Great Escape @ Disneyland last month I was enthralled by the use of a clever font so that it looked like all the signs were written in an alien language. All the characters were just [...]

Over the weekend I updated my blog to Wordpress 2.8. It’s been a relatively smooth process complete screw-up (see my comment at the bottom) although I lost my archive and recent post widgets as I had hacked them to be multiple instance. As they are now multiple instance anyway (hurrah) I was able to remove the extra code and get everything back working properly.

Back in April I posted a Snippet on Symfony Form Formatters. Since then I’ve done a bit more work with them and thought I’d share my custom form formatter for displaying forms as definition lists. Forms are often marked up as unordered lists, but with their label-input structure I find they often make semantic sense as definition lists.

calendarAt the beginning of 2009 I had been in my first full time job for 2 months, had graduated from my Masters degree less than a month ago and had lived in my newly purchased home for just over a week. With so much going on I didn’t have time to think up a New Year’s resolution. The only thing I had planned was that I wanted to get a blog up and running this year!

peacockI don’t want to bore folk with the tiniest detail of my holiday, but today merits a blog post of its own. If you have ever looked at visiting Discovery Cove and thought the price was over-the-top, take it from me, it isn’t. I just got back from my day at Discovery Cove and I couldn’t recommend it any more highly.

Discovery Cove is not like any other theme park in Florida, spaces are limited, so you have to make reservations. This means that there are considerably less people than in an ordinary theme park and as it is also quite a small park, it feels very private. None of this prepared us for the wonderes we experienced today.

We’re at the end of our tenth day in Florida, halfway through our holiday. It seems we picked the absolutely perfect time of year to come – not only is the the weather glorious (it’s very hot but mostly bearable), but the place is practically deserted. Who knows if it is the recession or because there are no school holidays, but there is hardly anyone in the parks – the longest we’ve queued was for Manta – the new coaster at Sea World.

Symfony is one of my favourite bits of technology. I’ve got plans to write several articles and tutorials on it, but as I know many people haven’t yet heard of it, or are unaware of how it could help them, I thought it best to write an introductory article. So, here is an explanation of what Symfony is, why I use it, and why you may want to start using it too.

Two weeks ago, my slightly better half had his 30th birthday. To celebrate him becoming a “proper” adult, I decided there was nothing more fitting than a visit to Disneyland. So on Monday we’re flying to Florida for three weeks of tomfoolery in Orlando.

By default Symfony displays forms in tables, with each new input being a table row. If you want to display your forms more semantically with fieldsets and lists, Symfony has a list formatter built in. You can tell an individual form to display as a list using the code below.

1
2
3
4
5
6
<?php
    // lib/form/MyModelForm.class.php
    public function configure() {
      $this->widgetSchema->setFormFormatterName('list');
    }
?>