Web Feet Blog

Embedding Youtube Videos in the Web-Feet CMS

Posted on October 14, 2014 by

One question we’ve always get asked by clients is “How can I add a video to my CMS website ?”.

This can be done by copying and pasting the embed code. However this has caused many issues with clients pasting the code in the wrong section, breaking HMTL markup validity or even messing up the page layout.

I decided to look at how we could bypass the whole issue of adding HTML and I came up with a simple search system.


Anyone using the system now just has to type the title of the video they wish to add and the system will generate the HTML in the background and insert it to the webpage. All results are generated by YouTube’s search system.


Once the video has been found a preview will be displayed just so the user can confirm if they have selected the right video.

Magento, HREF Lang plugin

Posted on October 3, 2014 by

One of our clients approached us to build a way that they could manage hreflangs on their Magento stores where they were looking to have multiple language versions of the site with different pages on each site. I looked at a few options online and there were some that worked provided the sites would be identical in terms of content but none that would enable control of where the links would go if there wasn’t an alternative url.

… so I built a plugin that enables our client to upload their urls in a csv with the base site in the first column and then they can add as many columns after that to upload the urls for the other language sites. The plugin then retrieves any alternate urls for any other site from the data and adds them to the <head> section of the website.

If this is a solution you think you would require for your multi language Magento, then please don’t hesitate to contact us at info@web-feet.co.uk.

Magento HREF, multi-language

Facebook down 19/06/2014

Posted on June 19, 2014 by

I went to check twitter briefly this morning and saw a few tweets saying facebook was down…. I went to check by updating the feed on my phone, and indeed nothing was updating.

On a desktop browser, this is the message that appears:

Screenshot 2014-06-19 09.18.42


This is pretty rare for facebook and just goes to show that any web service is vulnerable to downtime no matter how large or small the operation.

I’m sure there are many developers at facebook scratching their heads and running around desperately trying to repair whatever issue has caused the site to come down…

As much as this is a pain for millions (billions?) of people around the world it does show that you cannot guarantee uptime forever in any environment…

So for now while it is down…. enjoy the world around you… or just jump over to twitter until facebook returns…..



UPDATE: 19/06/2014 09:25 – Site came back up the moment I posted this! In total, it was down between about 09:05 and 09:25.

Applewood Joinery New Website Live!

Posted on June 16, 2014 by

The new site for Applewood Joinery is now live!

Applewood Joinery manufacture a range of high quality joinery products. They specialise in staircases, windows and conservatories and will also create bespoke joinery for other applications. Check out their website if you’re interested.

Their site is built on the new Web Feet CMS making content management simple and easy. The design is now responsive so it will scale up and down for mobile and desktop platforms respectively. Also added is a ‘case studies’ section; allowing them to update their site with recent work they have done. Multiple galleries have also been added with an ‘enlarge’ function making it easy to display their latest work. A simple contact form has also been added, allowing potential customers to get in touch.

Please tell us if you like the new Applewood Joinery site, and get in contact if you require something similar.

Online Sign Off – Coming Soon from Web Feet

Posted on May 16, 2014 by

At web feet we were looking for ways to reduce the amount of paper we used and to provide more certainty around our sales/ordering process. We also had a client who wanted something similar who we built a basic system for signing quotes for. We had a look around for other solutions but there was nothing that suited our needs…

What did we do then?

So… we built our own system to use internally that we started adding to in order to process orders and get clear sign off so that work on these orders could begin without the question of whether the order had been approved or needing to wait for post.

“We’ve doubled our approval rate from our paper based system”

So far we’ve doubled our approval rate from our paper based system to around 80% and about 15% of the rest of the orders have been invoiced straight away and then the work carried out.

So… we thought after a couple of our clients had seen this and asked about the system for themselves, lets try and provide this as a service and after a few iterations of design, tweaks and all round improvements we introduce “SignOff” or “So” for short.

What now?

Currently we are trying to gauge interest in the online sign off system and will be collecting email addresses to select some people to trial the system for us but very soon, we will launch the system fully.

If you would like to contact us for more information on So then contact us at info@web-feet.co.uk.

We’re excited about the possibilities and we hope you will be too…

The Web Feet Team…..

Apple Office New Website Live!

Posted on May 12, 2014 by

The new site for Apple Office Equipment Ltd. is now live!

Apple Office specialise in new and refurbished risograph digital printers and professional colour copiers for office usage. Offering a range of printer/copiers from Riso, Olivetti, Panasonic and Bizhub, Apple Office have the supplies to suit you needs! Check out their website if you’re interested.

The site now features the new Web Feet content management system to streamline page changes and updates. Fluid transitions between desktop and mobile devices are now apparent thanks to our responsive design template, making it easier to view from your phone or tablet.

We think the new design refresh looks great, and we hope you feel the same. Please contact us if you require something similar.

Magento Magister Millitum Site Updates Live!

Posted on March 14, 2014 by

The new Magister Militum site has been updated onto an eCommerce Magento platform!

Magister Militum specialise in war figurines from pre historic soldiers to modern aircrafts, they have it all. Check out their website if you’re interested.

The Magister Militum site features multiple customisation features and plug-ins, including a search bar and filters to narrow down the products. The site is built on the Magento eCommerce platform; great for sites with a large number of products – making it easier to add and update content. Another component we have added is the Owebia Shipping extension; allowing for more accurate shipping rates, you can set any variable such as destination, weight, price and apply different shipping methods. Also added is a customised invoice and shipment pdf generator specific to Magister Militum’s requirements. The new layered navigation feature, built in-house to replace a dysfunctional plugin, allows you to narrow down your search query quickly and without the whole page re-loading. A custom events module was also added to Magento to display upcoming tradeshows.

The Magento Magister Militum site now has many more features making the overall site experience much better. Please tell us what you think, or contact us if you require something similar.

Willow Madison Kitchens Responsive Site Live!

Posted on December 20, 2013 by

The new site for Willow Madison Kitchens is now live!

Willow Madison Kitchens specialise in bespoke kitchens made in their Chandlers Ford workshop. They create a range of custom fitted kitchens and hand-crafted furniture using traditional methods. Check out their website if you’re interested.

The updated design features include the new Web Feet content management system allowing for simple management of pages and page content. Also the responsive design with image galleries and custom internal page colours allows for better viewing on mobile devices. The site also features a WordPress blog system so they can give frequent updates for new events.

We love the sharp new design – and we hope you do too. Please contact us if you require something similar, and we’d be happy to help.


Snow joke… JavaScript Falling Snow technique….

Posted on December 2, 2013 by

Within a week of launching the new web-feet site we decided to implement a changing theme for the banner (to change with the seasons). We had already developed clouds to float across the screen in summer, but we needed some rain and snow for winter and autumn…

So I turned to Google to find a canvas HTML5solution, and ended up implementing my own JavaScript.

Here is the result for the snow on jsfiddle (http://jsfiddle.net/k7RHs/10/).

As you can see the result is very pleasing and the snow also slowly “settles” at the bottom of the element in which it is contained.

If you would like this effect on your site for christmas then get in contact!

Happy Christmas!


Magento SEO PHP Product, Category Descriptions and defaults

Posted on November 1, 2013 by

Struggling to generate meta keywords or descriptions automatically on your Magento category and product pages? This blog should help you through the code needed.

Magento is great for many things and from an SEO development point of view it is pretty good but not perfect. Our SEO maestro wanted me to implement some code that if there was a product description it would use that to populate the meta description. After doing some searching, I came across this blog post. This gave me a good starting point but I also needed to do this for category pages as well and our set up required that I looked into a couple of other things. The main issue was that we had populated the default meta description and keywords already so the code needed to check if the keywords for the product where not empty and not equal to the default before deciding what to do.

The code I ended up with is placed in the page/html/head.phml of the theme we are using:

$desc = strip_tags(trim($this->getDescription()));
$kw = trim($this->getKeywords());
$title = strip_tags(trim($this->getTitel()));

 if (Mage::registry('current_product')) {
   $desc = $this->getTitle(). ' '. strip_tags(str_replace("<br />",", ",substr(Mage::registry('current_product')->getDescription(), 0, strpos(Mage::registry('current_product')->getDescription(), '.')+1)));

   $desc = substr($desc, 0, 150);

   if($title = Mage::getStoreConfig('design/head/default_title') || $title == Mage::registry('current_product')->getDescription())
     if(strtolower(substr($desc, 0, strlen($title))) !== strtolower($title))
       $title = Mage::registry('current_product')->getName().' '.strip_tags($desc);
   if(empty($kw) || $kw == Mage::getStoreConfig('design/head/default_keywords'))
     $kw = $title.','.$kw;
 if (Mage::registry('current_category')) 
   if(empty($desc) || $desc == Mage::getStoreConfig('design/head/default_description'))
      $desc = $this->getTitle(). ' '. strip_tags(str_replace("<br />",", ",substr(Mage::registry('current_category')->getDescription(), 0, strpos(Mage::registry('current_category')->getDescription(), '.')+1)));
      $desc = substr($desc, 0, 150);
   if(empty($kw) || $kw == Mage::getStoreConfig('design/head/default_keywords'))
      $kw = $title.','.$kw;

// ... do what is necessary <title..., <meta name="description... etc

As you can see from the code ; there are quite a few checks and replacements going on to ensure html is not passed through to the head items and also to ensure there isn’t too much duplication of the product name in the description.