This is a discussion on Article Manager v1.0 within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; I have fixed a couple of minor problems: 1. When displaying all articles the text below the page count was ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| ||||
| ||||
| I have fixed a couple of minor problems: 1. When displaying all articles the text below the page count was incorrectly displayed 2. When an article has no topic it is not displayed. I created a topic with the id of 0. 3. Also added an rss feed for articles. The rss feed is heavily based on the News Blog V 1.0 contribution. 1. Add to catalog/includes/languages/english(and any other languages you use) AFTER: } elseif ($topic_depth == 'top') { ADD: define('TEXT_ARTICLES', 'Below is a list of articles with the most recent ones listed first.'); 2. Create a topic for articles in the TOP category. The second SQl Statement needs to be duplicated for any language other than english you are using, replaceing the second VALUE with the id?s of the languages you are using.(look in phpMyAdmin) Insert into your database via phpMyAdmin: INSERT INTO topics (topics_id,topics_image, parent_id,sort_order, date_added, last_modified) VALUES (0,NULL, 0, 0, '2007-08-06 08:52:12', NULL); INSERT INTO topics_description VALUES (0, 1, 'Miscellaneous Articles', 'Miscellaneous', 'Articles that do not fall into a specific category.'); INSERT INTO configuration (configuration_id,configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('', 'Number of articles to display in your RSS Feed.', 'NEWS_RSS_ARTICLE', '10', 'If you want all of your articles to display in the RSS type in something like 2000. The default is 10', '456', '34', now()); INSERT INTO configuration (configuration_id,configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('', 'Number of characters to display in each RSS article.', 'NEWS_RSS_CHARACTERS', '250', 'If you keep this at 250 it will hide a little bit of each of article from your viewers. They will have to come to your store to finish. The default is 250', '456', '35', now()); 3. In catalog/includes/filenames.php ADD: define('FILENAME_ARTICLE_RSS', 'article_rss.php'); 4. UPLOAD: catalog/article_rss.php catalog/includes/languages/english(and any other languages you use)/article_rss.php 5. Go to admin->configure->article manager an configure the two new options for rss. 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 |
| Article Manager v1.0 | michael_s | New osCommerce Contributions | 0 | 06-20-2007 12:22 PM |
| Reviews in Article Info (Article Manager) | michael_s | New osCommerce Contributions | 0 | 05-10-2007 02:00 PM |
| Article Manager | pglock | osCMax v2 Features Discussion | 2 | 03-26-2006 12:10 PM |
| Article Manager with MS2-MAX | oakhill | osCMax v1.7 General Mods Discussion | 1 | 03-30-2005 04:25 AM |
| MS2-Max & article manager | Anonymous | osCMax v1.7 Discussion | 0 | 03-23-2004 01:57 PM |