]> PHP | Web Developer Reference Blog

R&R Catering Hire Redevelopment Project

Monday, December 13th, 2010

Over the past few months, I have been working closely with Bredon Web and Seligsoft to transform the website of successful local business, R&R Catering Hire Ltd of Andoversford in Gloucestershire.

I was tasked with producing a PHP version of their ASP website using as much of their current PHP development website as possible. The team agreed with a seamless WordPress-osCommerce symbiotic platform as it suited 80% of the brief ‘out of the box’. 

This allowed me to meet the deadline for the back end in time for Seligsoft to produce the front end graphics using CSS.
(more…)

Publish to Facebook from WordPress using Wordbooker

Wednesday, June 9th, 2010

I have installed Wordbooker on my WordPress blog to post to my Facebook wall when I make a new post.

Upon installing and activating the plugin, visit its settings page under Settings >> Wordbooker. Click the connect with Facebook button and allow the requested permissions. You will then be directed back to your blog administration panel where you are given a set of configuration options. The ‘Blog Level Customisation’ allows you to define the default settings for all users of your blog. The ‘User Level Customisation’ allows the logged-in user to customise their own settings.

(more…)

Open comment authors website link in a new window

Tuesday, June 8th, 2010

When a user posts a comment on your blog, they are given the option to have their name linked to their own website by supplying the URL when they post. To make these links open in a new window:

find in wp-includes/comment-template.php (~line 148):

$return = "<a href='$url' rel='external nofollow' class='url'>$author</a>";

replace with:

$return = "<a href='$url' rel='external nofollow' class='url' target='_blank'>$author</a>";

And that’s it. If you have difficulties implementing this, contact me for paid support.

Pointing Website Root To osCommerce Catalogue Directory

Monday, May 31st, 2010

This is a simple snippet and configuration change which you can use to point the root of your website to your installation directory, normally ‘catalog’. This would mean the URL in the address bar would become http://www.mydomain.com/index.php instead of http://www.mydomain.com/catalog/index.php. An amateur coder could easily modify this code for other web projects. Pointing website root to WordPress installation directory

(more…)

Figures In Comfort Project Report

Sunday, May 23rd, 2010
Figures In Comfort Screen-shot

Figure Cases Product Listing (FIGURE 1)

Figures in comfort asked me to produce a method of ensuring that customers can only select the amount of foam that will fit into the cases.

The previous system allowed customers to choose more foam than would fit, which made it take longer for them to be able to fulfil the order.

This is because some trays are double, triple and even quadruple depth.

The client would first have to contact the customer to explain, costing time and money.

(more…)