♥peterpil19 Posted October 11, 2005 Share Posted October 11, 2005 Hi all, I was wondering if anyone knew of any article-type or blog contribution for oscommerce. I am no programmer by any means, so integrating wordpress has proved impossible for me. If I could get it to install into my catalog directory, I could easily integrate it, only it has an index.php main page that would override oscommerce's index.php. (I tried renaming its main page to blog.php only to find that all the links don't work, and I can't figure out how to fix that!). Also more oscommerce-related, if anyone knows how to create an osCommerce page OUTSIDE of the catalog directory, this will solve my problem too. I've tried doing that, only to find that even after changing the links top the required/included files, the code has problems. Any tips would be quite welcome. Kind Regards, Peter CE PHOENIX SUPPORTER Support the Project, go PRO and get access to certified add ons Full-time I am a C-suite executive of a large retail company in Australia. In my spare time, I enjoying learning about web-design. Download the latest version of CE Phoenix from gitHub here Link to comment Share on other sites More sharing options...
websta Posted March 24, 2006 Share Posted March 24, 2006 New to osCommerce, but this issue killed me so I thought I'd document it to help others as best I could. If you have improvements, please offer them below. Thanks to Peter who was helpful also in this! I just wanted to note for people searching the forums looking for a way to integrate a blog into their osCommerce site, to suggest that they install the blog in another directory off the root, and use an iframe to show the blog inside their site. This may have been suggested elsewhere in forums, but I did not find any steps to do so being documented. So, fwiw, here goes: Here is an example I did using an iframe to bring Wordpress 2.02 into an osCommerce page:Barney Outdoor Outfitters: Updates. To see what the Wordpress blog posts look like with the header, footer and sidebar stripped out view the blog entries here. To do this in Wordpress 2.02, delete the links to the header, footer, comments and sidebar in your Wordpress' index.php file, and do not use the Title blank in writing your posts. To learn how to create a blank page within osCommerce, look at the very helpful, yet not-super-helpfully-titled documentation entry Add Box Page. Whoever wrote that is my hero. (Let's here it for more documentation!) So the catalog/includes/languages/english page, with the iframe inside, linking to your blog will look something like this: <?php /* $Id: updates.php,v 1.4 2002/11/19 01:48:08 dgw_ Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2002 osCommerce Released under the GNU General Public License */ define('NAVBAR_TITLE', 'Updates'); define('HEADING_TITLE', 'Updates'); define('TEXT_INFORMATION', ' <iframe frameborder="0" height="1000" scrolling="Auto" name="updateswindow" src="https://yourwebsite.com/wordpress/index.php" width="550"></iframe> '); ?> The width of 550 works well if you have the right sidebar removed. Obviously, it would need to be something like 350 if you have both sidebars on your site (as in the default installation). Again, hope this saves some of you some time and effort. I suggest avoiding any osCommerce blog contributions written before as of March 2006. I may be mistaken, but fwiw, I tried all of them, and none worked for me. (Shouldn't there be a ranking system to flag non-working or misguided contributions?!) Blogging is supposed to help with search engine optimization by allowing you to easily update the text on your (or your client's) web sites. We'll see... Link to comment Share on other sites More sharing options...
♥toyicebear Posted March 24, 2006 Share Posted March 24, 2006 Hi all, I was wondering if anyone knew of any article-type or blog contribution for oscommerce. I am no programmer by any means, so integrating wordpress has proved impossible for me. If I could get it to install into my catalog directory, I could easily integrate it, only it has an index.php main page that would override oscommerce's index.php. (I tried renaming its main page to blog.php only to find that all the links don't work, and I can't figure out how to fix that!). Also more oscommerce-related, if anyone knows how to create an osCommerce page OUTSIDE of the catalog directory, this will solve my problem too. I've tried doing that, only to find that even after changing the links top the required/included files, the code has problems. Any tips would be quite welcome. Kind Regards, Peter Best Bet: Article Manager or Wordpress integration... Basics for osC 2.2 Design - Basics for Design V2.3+ - Seo & Sef Url's - Meta Tags for Your osC Shop - Steps to prevent Fraud... - MS3 and Team News... - SEO, Meta Tags, SEF Urls and osCommerce - Commercial Support Inquiries - OSC 2.3+ How To To see what more i can do for you check out my profile [click here] Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.