Jump to content

muneca

Members
  • Content count

    12
  • Joined

  • Last visited

Profile Information

  1. How do you edit the space in between each icon? Is it possible to have 4 per row?
  2. muneca

    DEFINE_MAINPAGE

    I've installed this and it seems to be working great on the admin side, but not linking with the storefront. On the index page I get this message: 1054 - Unknown column 'customers_group_id' in 'field list' select customers_group_id from customers where customers_id = '0' [TEP STOP] The code on the index page that creates this message reads: <td class="main"><br><?php global $customer_id; $customer_group_query = tep_db_query("select customers_group_id from " . TABLE_CUSTOMERS . " where customers_id = '" . $customer_id . "'"); $customer_group = tep_db_fetch_array($customer_group_query); if ( $customer_group['customers_group_id'] == 0) { include(DIR_WS_LANGUAGES . $language . '/' . FILENAME_MAINPAGE_0); // Retail-Not logged in } else { if ( $customer_group['customers_group_id'] == 1) { include(DIR_WS_LANGUAGES . $language . '/' . FILENAME_MAINPAGE_1); // Wholesale logged in } else { if ( $customer_group['customers_group_id'] == 2) { include(DIR_WS_LANGUAGES . $language . '/' . FILENAME_MAINPAGE_2); // Vips logged in } } } ?> <br><br></td> I've followed instructions from this file: http://www.oscommerce.com/community/contributions,86 Can anyone help shed some light on what is wrong with the script? Thanks you kindly~
  3. I had the same problem but I fixed it by opening define_mainpage.php and changing all instances of DEFINE_MAINPAGE to DEFINE_MAINPAGE0 and saved the file as define_mainpage0.php. Also had to change the line that reads $HTTP_GET_VARS['filename'] = 'mainpage.php'; to $HTTP_GET_VARS['filename'] = FILENAME_DEFINE_MAINPAGE0; Then upload to server. It shows up in the admin as rich text editor. So I did a save as for the others (DEFINE_MAINPAGE1 & 2) following the same steps and uploaded it so they all have the rich text editor function now. Hope that helps you.
  4. muneca

    FAQ system contribution

    Got it! Thank you!
  5. muneca

    FAQ system contribution

    Thank you for your reply. Not sure what I'm looking for here. Yes, I've uploaded all the files that came with the contribution. :huh:
  6. muneca

    FAQ system contribution

    Greetings, it's my first time installing this. Followed directions and now when in the admin I click on File Manage I get this error: Warning: require(includes/languages/english/faq.php) [function.require]: failed to open stream: No such file or directory in /data/home/sahaj/websites/sahajherbs.com/docs/store/catalog/admin/faq_manager.php on line 13 Warning: require(includes/languages/english/faq.php) [function.require]: failed to open stream: No such file or directory in /data/home/sahaj/websites/sahajherbs.com/docs/store/catalog/admin/faq_manager.php on line 13 Fatal error: require() [function.require]: Failed opening required 'includes/languages/english/faq.php' (include_path='.:/usr/local/php5/share/pear:/usr/local/share/adodb') in /data/home/sahaj/websites/sahajherbs.com/docs/store/catalog/admin/faq_manager.php on line 13 Can anyone help me figure out what went wrong?
×