eConcepts
Design Services
Testimonials
eConcepts have consistently delivered quality designs on time despite our demanding time schedules.
Thanks guys!

George Martin
Fluke Motorsport,
Bristol
Thank-you from transforming our website into an excellent tool for promoting our business!

John
Garden House Hotel, Stamford
Portfolio
Links
Display an infobox in OsCommerce with a post from a Wordpress blog



Introduction

user redirection with joomlaThis code allows you to display an information box in OsCommerce utilising a random post from your Wordpress blog.

Solution

Step 1:
Download blog.txt and save as file: /includes/boxes/blog.php



Step 2:
Alter the config params at the top to suit your Wordpress installation, save the file.



Step 3:
open file /includes/column_left.php (or column_right.php if you wish the blog to appear on the right).

Decide which order you wish the box to appear in and then add:
include(DIR_WS_BOXES . 'blog.php');


And you're good to go!


Summary

Very useful for SEO purposes, you may want to alter the way the blog url string is built (line #45) depending if you're using search engine friendly urls or not.

Added by Graeme Finlayson on 03/04/2008.

Comments

Make a Comment.

[home] | [about us] | [contact]

©www.eConcepts.co.uk