Musings of ErisDS
beta
ErisDS

Archive > Tag > web development

Last year I published two parts of a three part tutorial (doh) on the YUI2 Carousel Widget. Since that time, a new couple of new versions of the YUI2: Carousel widget have been released, and it seems my examples do not work with the updated code. This post covers the issues, the reasons why they occur and how to resolve them.

Today is my 25th birthday. It feels like a milestone, something that needs to be marked and celebrated. Scarily it’s lead me to do a little thinking: What have I achieved? Where am I now? Where am I going? Where do I want to go? And other such life-pondering questions.

Have you ever stumbled across the issue where wp_list_pages isn’t spitting out the text you define for link_before and link_after? I came across this some time ago: one minute my lovely pipe bars ‘|’ where there, the next they weren’t. It turns out this is due to the EXTREMELY popular All in One SEO Pack plugin (if you’re not using this you should be!).

The new WordPress 3.0 menu system is pretty powerful and provides some very interesting new options for creating menus in WordPress. Previously, I have always used wp_list_pages and a custom Walker class to provide hierarchical menus based on the page structure, but that’s a topic for another post. This super-short snippet shows you how to add a login / logout link to one of your WordPress menus.

WordPress Pages MenuBack in June I posted about tidying up the WordPress admin dashboard. Recently I got a comment on that article asking if the admin menu could be altered for different users in a similar way. This turned out to be ever-so-slightly more complicated that I expected because there is no way to distinguish between the permission to edit and the permission to add a page or post. However, like most things in WordPress with a bit of graft it’s usually possible!

Code Example: You can download the complete code sample with comments right here: functions.php [ZIP File]

I’m still pretty new to Magento, and am learning more about it every day. I’ve been trying to learn all I can about internals such as managing collections & recently stumbled on trying to filter a collection by two attributes. I wanted to build a list of all products that had one OR another attribute set to certain values.