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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| ||||
| ||||
| 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. |
| Thread Tools | |
| |
| ||||
| 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 |