Jump to content
Latest News: (loading..)

AlainBensimon

Members
  • Content count

    23
  • Joined

  • Last visited

  1. [Contribution] Featured Products for v2.3.x

    Hi, I installed the contribution as described, and I have a few problems. 1. At the step 13, I found only one instance of include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); instead of two I was supposed to. 2. I didn't understand the step 14, I don't have the option "column box" in admin/modules/boxes. 3. The featured appears in "configuration", but not in "catalog". Instead, I have " BOX_CATALOG_FEATURED_PRODUCTS ", and when I click on it, I get this: "1146 - La table 'lejoaillier.table_featured' n'existe pas (means don't exist). select count(*) as total from products p, TABLE_FEATURED s, products_description pd where p.products_id = pd.products_id and pd.language_id = '1' and p.products_id = s.products_id" Thank you for your help.
  2. Daily Specials

    I'm sorry, it appears that it's not the right one. I was talking about the contribution easymap. I don't know how I came here.
  3. Daily Specials

    I found what was not working. In the file you put this: 3) In includes/modules/boxes/bm_information.php REPLACE ' <a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . MODULE_BOXES_INFORMATION_BOX_CONTACT . '</a>' with ' <a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . MODULE_BOXES_INFORMATION_BOX_CONTACT . '</a><br>' . ' <a href="' . tep_href_link(FILENAME_EASYMAP) . '">' . MODULE_BOXES_INFORMATION_EASYMAP . '</a>' a dot is missing at the end of the last sentence. Now it's working.
  4. Daily Specials

    I don't understand, in your files, you made a special folder fro version 2.3. "If your shop is version 2.3 or later, use the oscommerce_2.3 directory."
  5. Daily Specials

    Hello, I installed everything as described on my oscommerce 2.3.1. ans after that, when I go on the site, I get this message: ( ! ) Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in C:\Users\Alain\Documents\Weblocal\lejoaillier\includes\modules\boxes\bm_information.php on line 51. This is the line 51: ' </div>' . Here is the code I have in that file: <?php /* $Id$ adapted for Information Pages Unlimited v2.05 osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2010 osCommerce Released under the GNU General Public License */ class bm_information { var $code = 'bm_information'; var $group = 'boxes'; var $title; var $description; var $sort_order; var $enabled = false; function bm_information() { $this->title = MODULE_BOXES_INFORMATION_TITLE; $this->description = MODULE_BOXES_INFORMATION_DESCRIPTION; if ( defined('MODULE_BOXES_INFORMATION_STATUS') ) { $this->sort_order = MODULE_BOXES_INFORMATION_SORT_ORDER; $this->enabled = (MODULE_BOXES_INFORMATION_STATUS == 'True'); $this->group = ((MODULE_BOXES_INFORMATION_CONTENT_PLACEMENT == 'Left Column') ? 'boxes_column_left' : 'boxes_column_right'); } } function execute() { global $oscTemplate; // BOF: Information Pages Unlimited require_once(DIR_WS_FUNCTIONS . 'information.php'); // EOF: Information Pages Unlimited $data = '<div class="ui-widget infoBoxContainer">' . ' <div class="ui-widget-header infoBoxHeading">' . MODULE_BOXES_INFORMATION_BOX_TITLE . '</div>' . ' <div class="ui-widget-content infoBoxContents">' . tep_information_show_category(1) . // ' <a href="' . tep_href_link(FILENAME_SHIPPING) . '">' . MODULE_BOXES_INFORMATION_BOX_SHIPPING . '</a><br />' . // ' <a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . MODULE_BOXES_INFORMATION_BOX_PRIVACY . '</a><br />' . // ' <a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . MODULE_BOXES_INFORMATION_BOX_CONDITIONS . '</a><br />' . ' <a href="' . tep_href_link(FILENAME_ABOUT_US) . '">' . MODULE_BOXES_INFORMATION_BOX_ABOUT_US . '</a><br />' . ' <a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . MODULE_BOXES_INFORMATION_BOX_CONTACT . '</a><br>' . ' <a href="' . tep_href_link(FILENAME_EASYMAP) . '">' . MODULE_BOXES_INFORMATION_EASYMAP . '</a>' ' </div>' . '</div>'; $oscTemplate->addBlock($data, $this->group); } function isEnabled() { return $this->enabled; } function check() { return defined('MODULE_BOXES_INFORMATION_STATUS'); } function install() { tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Enable Information Module', 'MODULE_BOXES_INFORMATION_STATUS', 'True', 'Do you want to add the module to your shop?', '6', '1', 'tep_cfg_select_option(array(\'True\', \'False\'), ', now())"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Content Placement', 'MODULE_BOXES_INFORMATION_CONTENT_PLACEMENT', 'Left Column', 'Should the module be loaded in the left or right column?', '6', '1', 'tep_cfg_select_option(array(\'Left Column\', \'Right Column\'), ', now())"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Sort Order', 'MODULE_BOXES_INFORMATION_SORT_ORDER', '0', 'Sort order of display. Lowest is displayed first.', '6', '0', now())"); } function remove() { tep_db_query("delete from " . TABLE_CONFIGURATION . " where configuration_key in ('" . implode("', '", $this->keys()) . "')"); } function keys() { return array('MODULE_BOXES_INFORMATION_STATUS', 'MODULE_BOXES_INFORMATION_CONTENT_PLACEMENT', 'MODULE_BOXES_INFORMATION_SORT_ORDER'); } } ?> Thank you.
  6. Extra pages-info box w/admin 4.6.1

    Hi, I'm having a problem to run the autoinstaller. I can't find the following files. They're just not there. You should set 777 permissions for: 1 directory: httpdocs/includes/boxes 1 file: httpdocs/includes/column_left.php
  7. Pages enhancements

    Thanks for the answer. i already tried to install it, vut it was not so successful. Maybe because I have version 2.3.1 and it's for version 2.2? Could you help? Thanks.
  8. Pages enhancements

    Hello, I'm look for a contribution, or a way to edit pages and add informations. Example: I would like to add Store name, adress and opening hours in the contact page. I would like to be able to be able to edit it trough the admin. Important, I have oscommerce 2.3.1. Thanks a lot for any advice.
  9. Contact Us

    I tried, but it's not really working with v2.3.1.
  10. Would the first one also work with v2.3.1? Thanks.
  11. Super Contact us enhancement 1.0

    I tried to install it on 2.3, but it was not so successful. opening hours did not appear, background color was different than mine etc.
  12. Super Contact us enhancement 1.0

    Hi Eric, I'd like to install that contribution. two questions. 1. Does it work with oscommerce 2.3.1? 2. Does your version still includes the french version like in the first version provided by jean-pierre? Thanks.
×