[SOLVED] Running yiic from the command prompt with EasyPHP

I am currently experimenting with the Yii framework and I had some troubles running the yiic utility from Windows command prompt using the EasyPHP WAMP stack (I normally work on a Mac, but I wanted to make it work on Windows too).

While the stack works fine from a web browser, invoking PHP from its home directory under EasyPHP would raise a lot of warnings, mostly complaining about missing DLL extensions. Really annoying! It turns out php.exe cannot find its configuration file php.ini. Off to fix it.

Continue Reading

WordPress: How to display categories in hierarchical order

The most recent versions of WordPress include the possibility to organize taxonomies in hierarchical order. Categories are by default hierarchical taxonomies, while Tags are not (they are non-hierarchical or multi-faceted).

When WordPress displays such categories with the post, by default sorts them in alphabetical order. However it would be more logical to have them arranged in a hierarchical way, which is exactly how they were defined. This post shows how to do it.

Continue Reading

Final Cut Pro X: How to copy and paste audio keyframes

Suppose you are editing your video in Final Cut Pro X and you are pretty ahead in your workflow. You have already placed the background (bed) music along the video and have properly key-framed it around the dialogs.

Then, while reviewing the almost finished version, you realize that a piece of music does not really fit with the context. It definitely needs to be replaced, but doing so you will be losing all your key-framing work on that part. What a waste of time! But wait. Here is a trick that can help you.

Continue Reading