Contributions
Article Manager v1.0
Article Manager is a comprehensive article publishing system written for 2.2MS2. So if you want to offer articles on your
site with the option of cross-selling to your products, then this contribution is a must. It is easy to install and will
require minimal alteration to your existing site. Screen captures are included in a separate download.
Article Manager includes the following features:
- Articles can be stored in multi-leveled topics (use of topics optional)
- New Articles and All Articles lists included
- Article listings include: Article Title, Article Abstract, Author Name, Topic, Expected or Published Date (details can be turned on or off via the admin console)
- Articles accessible from Article and Authors box added to left or right column
- Articles can be assigned to Authors (optional)
- Author details include name and description (can include pictures)
- Optional Topic and Author filters lists available from Articles Info page
- Article Reviews built in, including approval or reviews by admin (use of reviews optional)
- Includes optional Tell a Friend link
- Article cross-selling included so you can associate articles with products in your shop (optional)
- WYSIWYG HTMLArea Editor (MS2 v1.7) built in for editing of Articles and Topic/Author descriptions (optional)
- Supports pre-loading of articles to appear on a certain date (until then they are viewable but not accessible)
- Supports management of Draft and Published article statuses
- Full Header Tags support for article-related meta-tagging
- Breadcrumb support included so Topic path and Article/Author name appear in breadcrumbs
- Full admin console with over 30 different configuration options
- Full multi-language capable (sorry, only English language files included in this version)
- And much, much more!
Note: Header Tags Controller and WYSIWYG HTMLArea Editor (MS2 v1.7) DO NOT need to be installed throughout the rest of your
site.
Bugs and suggestions: http://forums.oscommerce.com/index.php?act=ST&f=7&t=68866
Rob Anderson
| 26 Jan 2012 |
if no new image for the author, keep the last one.
if checked, delete the association with an image
hope it will help
no package
1 - add a checkbox for delete an association image<>authors
find this line (315)
<tr>
<td class="smallText"><?php echo TEXT_AUTHORS_IMAGE; ?></td>
<td><?php echo tep_draw_input_field('authors_image_name', $authors['authors_image'], 'disabled size="20"') . ' ' . tep_draw_file_field('authors_image'); ?></td>
</tr>
add below :
<td class="smallText"></td>
<td class="smallText"><input type="checkbox" name="supp_img" value="supp_img"> Supprimer l'image de l'auteur</td>
</tr>
2 - script remove/change image/don't change
find this (58)
$authorsImg = '';
$authors_image = new upload('authors_image');
$authors_image->set_destination(DIR_FS_CATALOG_IMAGES .'article_manager_uploads/');
if ($authors_image->parse() && $authors_image->save()) {
$authorsImg = tep_db_input($authors_image->filename);
}
$sql_data_array = array('authors_name' => $authors_name,
'authors_image' => $authorsImg,
);
replace with
$authors_img_query = tep_db_query("select authors_image from " . TABLE_AUTHORS . " where authors_id = '" . $_GET['auID'] . "'");
$authors_img = tep_db_fetch_array($authors_img_query);
$supp_img = $_GET['supp_img'];
$authorsImg = '';
$authors_image = new upload('authors_image');
$authors_image->set_destination(DIR_FS_CATALOG_IMAGES .'editor/images/Auteurs/');
if ($authors_image->parse() && $authors_image->save()) {
$authorsImg = tep_db_input($authors_image->filename);
}
//s'il n'y a pas de nouveau nom d'image
if ($authorsImg=='') {
//si coché pour supprimer
if (!empty($_POST['supp_img'])) {
$sql_data_array = array('authors_name' => $authors_name,
'authors_image' => '',
);
}
else {
$sql_data_array = array('authors_name' => $authors_name,
'authors_image' => $authors_img['authors_image'],
);
}
}
else { //s'il y'a une nouvelle image
$sql_data_array = array('authors_name' => $authors_name,
'authors_image' => $authorsImg,
);
}
| 24 Jul 2011 |
| 18 Jan 2011 |
| 2 Jan 2011 |
| 14 Oct 2010 |
| 17 Jul 2010 |
| 13 Jul 2010 |
| 12 Jul 2010 |
| 4 Apr 2010 |
| 16 Jun 2009 |
| 5 Jun 2009 |
| 29 Jan 2009 |
| 25 Nov 2008 |
| 11 Oct 2008 |
| 3 Oct 2008 |
| 19 Aug 2008 |
| 7 Aug 2008 |
| 7 Aug 2008 |
| 9 Jun 2008 |
| 24 May 2008 |
| 19 May 2008 |
| 13 May 2008 |
| 3 Apr 2008 |
| 10 Mar 2008 |
| 4 Feb 2008 |
| 22 Jan 2008 |
| 1 Nov 2007 |
| 15 Oct 2007 |
| 9 Oct 2007 |
| 12 Sep 2007 |
| 14 Aug 2007 |
| 8 Aug 2007 |
| 7 Aug 2007 |
| 6 Aug 2007 |
| 20 Jul 2007 |
| 20 Jun 2007 |
| 11 Dec 2006 |
| 9 Dec 2006 |
| 6 Dec 2006 |
| 27 Nov 2006 |
| 21 Sep 2006 |
| 27 Jul 2006 |
| 12 Jul 2006 |
| 12 Jul 2006 |
| 11 Jul 2006 |
| 20 Jun 2006 |
| 12 Oct 2005 |
| Wilhelm Moser | 10 Jun 2005 |
| Bedo | 16 Apr 2005 |
| Cormac Bracken | 27 Feb 2005 |
| Mark Horne | 9 Sep 2004 |
| Ivan Prieto | 11 Jun 2004 |
| Ivan Prieto | 11 Jun 2004 |
| Pawe³ Robaczewski | 25 May 2004 |
| Rob Anderson | 10 Dec 2003 |
| Rob Anderson | 6 Dec 2003 |
| Rob Anderson | 4 Dec 2003 |
| Rob Anderson | 4 Dec 2003 |
Note: Contributions are used at own risk.
