osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Article Manager v1.0

This is a discussion on Article Manager v1.0 within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; Fixed the bug to allow this block to be used on the sites with multiple languages. Just drop the file ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > New osCommerce Contributions

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #1  
Old 10-30-2007, 08:00 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 9,557
Thanks: 65
Thanked 278 Times in 264 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Post Article Manager v1.0

Fixed the bug to allow this block to be used on the sites with multiple languages.

Just drop the file in your includes/boxes directory and include it in your column_right.php like this:
require(DIR_WS_BOXES . 'articles_lastN.php');

Or if you want to go fancy and display it only on certain pages (e.g. anywhere else but the articles themselves) do it this way

if ((isset($HTTP_GET_VARS['articles_id'])) || ($_SERVER['PHP_SELF'] == '/articles.php') || (sizeof($HTTP_GET_VARS) < 1)){
require(DIR_WS_BOXES . 'articles.php');
}
else {
require(DIR_WS_BOXES . 'articles_lastN.php');
}

Enjoy

More...
__________________
Michael Sasek
osCMax Developer


osCMax Templates - Hundreds of premium quality templates. New designs every month!

xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience


osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Reviews in Article Info (Article Manager) michael_s New osCommerce Contributions 0 10-25-2007 07:26 AM
Article Manager v1.0 michael_s New osCommerce Contributions 0 08-08-2007 04:26 AM
Article Manager v1.0 michael_s New osCommerce Contributions 0 08-06-2007 01:00 PM
Article Manager v1.0 michael_s New osCommerce Contributions 0 07-20-2007 07:28 AM
Reviews in Article Info (Article Manager) michael_s New osCommerce Contributions 0 05-10-2007 02:00 PM


All times are GMT -8. The time now is 07:10 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2008 osCMax