Jump to content

kittidid

Members
  • Content count

    195
  • Joined

  • Last visited

2 Followers

About kittidid

  • Birthday 08/21/1952

Profile Information

  • Real Name
    Kitti
  • Gender
    Female
  • Location
    Houston, Texas USA
  • Interests
    Boating, camping, getting together with friends and BBQ
  • Website
  1. kittidid

    [Contribution] Tabbed Product Pages

    Still no help?!? Can someone give me some info about installation?
  2. kittidid

    [Contribution] Tabbed Product Pages

    I am having problems getting the tabs to work in our store. I already have the script coding in the mainpage.tpl.php page: <!-- Begin tab pane //--> <script type="text/javascript" src="includes/tabs/webfxlayout.js"></script> <link id="luna-tab-style-sheet" type="text/css" rel="stylesheet" href="includes/tabs/tabpanewebfx.css" /> <script type="text/javascript" src="includes/tabs/tabpane.js"></script> <!-- End tab pane //--> Here is my product_info.tpl.php code: <?php echo tep_draw_form('cart_quantity', tep_href_link(FILENAME_PRODUCT_INFO, tep_get_all_get_params(array('action')) . 'action=add_product')); ?><table border="0" width="100%" cellspacing="0" cellpadding="0"> <?php if ($product_check['total'] < 1) { // BOF Separate Price per Customer if(!tep_session_is_registered('sppc_customer_group_id')) { $customer_group_id = '0'; } else { $customer_group_id = $sppc_customer_group_id; } // EOF Separate Price per Customer ?> <tr> <td><?php new infoBox(array(array('text' => TEXT_PRODUCT_NOT_FOUND))); ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td align="right"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> </table></td> </tr> </table></td> </tr> <?php } else { $product_info_query = tep_db_query("select p.products_id, pd.products_name, pd.products_description, p.products_model, p.products_quantity, p.products_image, pd.products_url, p.products_price, p.products_tax_class_id, p.products_date_added, p.products_date_available, p.manufacturers_id from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'"); $product_info = tep_db_fetch_array($product_info_query); tep_db_query("update " . TABLE_PRODUCTS_DESCRIPTION . " set products_viewed = products_viewed+1 where products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and language_id = '" . (int)$languages_id . "'"); if ($new_price = tep_get_products_special_price($product_info['products_id'])) { // BOF Separate Price per Customer $scustomer_group_price_query = tep_db_query("select customers_group_price from " . TABLE_PRODUCTS_GROUPS . " where products_id = '" . (int)$HTTP_GET_VARS['products_id']. "' and customers_group_id = '" . $customer_group_id . "'"); if ($scustomer_group_price = tep_db_fetch_array($scustomer_group_price_query)) { $product_info['products_price']= $scustomer_group_price['customers_group_price']; } // EOF Separate Price per Customer $products_price = '<s>' . $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) . '</s> <span class="productSpecialPrice">' . $currencies->display_price($new_price, tep_get_tax_rate($product_info['products_tax_class_id'])) . '</span>'; } else { // BOF Separate Price per Customer $scustomer_group_price_query = tep_db_query("select customers_group_price from " . TABLE_PRODUCTS_GROUPS . " where products_id = '" . (int)$HTTP_GET_VARS['products_id']. "' and customers_group_id = '" . $customer_group_id . "'"); if ($scustomer_group_price = tep_db_fetch_array($scustomer_group_price_query)) { $product_info['products_price']= $scustomer_group_price['customers_group_price']; } // EOF Separate Price per Customer $products_price = $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])); } if (tep_not_null($product_info['products_model'])) { $products_name = $product_info['products_name'] . '<br><span class="smallText">[' . $product_info['products_model'] . ']</span>'; } else { $products_name = $product_info['products_name']; } $manufacturers_id = $product_info['manufacturers_id']; // Manufacturer list in Product info ?> <?php //// BEGIN: Added for Dynamic MoPics v3.000 if (tep_not_null($product_info['products_image'])) { ?> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td width="43%" rowspan="5"> <div class="infoBox"> <div class="main"><?php echo TEXT_OTHER_PRODUCT_IMAGES; ?></div> </div> <div class="infoBoxContent"> <?php include(DIR_WS_MODULES . 'dynamic_mopics.php'); ?> </div> </td> <td colspan="2" valign="top" class="pageHeading"> </td> </tr> <tr> <td colspan="2" valign="top" class="pageHeading"> </td> </tr> <tr> <td colspan="2" width="57%" valign="top" class="pageHeading"><?php echo $products_name; ?></td> </tr> <tr> <td colspan="2" width="57%" align="left" valign="top" class="pageHeading"><?php echo $products_price; ?></td>> </tr> <tr> <td colspan="2" valign="top" class="pageHeading"> </td> </tr> <tr> <td colspan="2" align="left" valign="top" class="pageHeading"><?php echo $products_price; ?></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td class="main"> <table border="0" cellspacing="0" cellpadding="2" align="right"> <tr> <td align="center" class="smallText"> <?php $image_lg = mopics_get_imagebase($product_info['products_image'], DIR_WS_IMAGES . DYNAMIC_MOPICS_BIGIMAGES_DIR); if ($lg_image_ext = mopics_file_exists(DIR_FS_CATALOG . $image_lg, DYNAMIC_MOPICS_BIG_IMAGE_TYPES)) { $image_size = @getimagesize(DIR_FS_CATALOG . $image_lg . '.' . $lg_image_ext); ?> <script language="javascript" type="text/javascript"><!-- document.write('<a href="java script:popupImage(\'<?php echo tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id'] . '&type=' . $lg_image_ext); ?>\',\'<?php echo ((int)$image_size[1] + 30); ?>\',\'<?php echo ((int)$image_size[0] + 5); ?>\');"><?php echo tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT); ?><br /><span class="smallText"><?php echo TEXT_CLICK_TO_ENLARGE; ?></span></a>'); //--></script> <noscript> <a href="<?php echo tep_href_link($image_lg . '.' . $lg_image_ext); ?>" target="_blank"><?php echo tep_image(DIR_WS_IMAGES . $product_info['products_image'], stripslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT); ?><br /><span class="smallText"><?php echo TEXT_CLICK_TO_ENLARGE; ?></span></a> </noscript> <?php } else { echo tep_image(DIR_WS_IMAGES . $product_info['products_image'], stripslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT); } ?> </td> </tr> </table> <?php } //// END: Added for Dynamic MoPics v3.000 ?> <p><?php echo stripslashes($product_info['products_description']); ?></p> <?php $products_attributes_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS_OPTIONS . " popt, " . TABLE_PRODUCTS_ATTRIBUTES . " patrib where patrib.products_id='" . (int)$HTTP_GET_VARS['products_id'] . "' and patrib.options_id = popt.products_options_id and popt.language_id = '" . (int)$languages_id . "'"); $products_attributes = tep_db_fetch_array($products_attributes_query); if ($products_attributes['total'] > 0) { //++++ QT Pro: Begin Changed code $products_id=(preg_match("/^\d{1,10}(\{\d{1,10}\}\d{1,10})*$/",$HTTP_GET_VARS['products_id']) ? $HTTP_GET_VARS['products_id'] : (int)$HTTP_GET_VARS['products_id']); require(DIR_WS_CLASSES . 'pad_' . PRODINFO_ATTRIBUTE_PLUGIN . '.php'); $class = 'pad_' . PRODINFO_ATTRIBUTE_PLUGIN; $pad = new $class($products_id); echo $pad->draw(); //++++ QT Pro: End Changed Code } ?> </td> </tr> <?php //// BEGIN: Added for Dynamic MoPics v3.000 ?> <tr> <td> <div class="infoBox"> <div class="main"><?php echo TEXT_OTHER_PRODUCT_IMAGES; ?></div> </div> <div class="infoBoxContent"> <?php include(DIR_WS_MODULES . 'dynamic_mopics.php'); ?> </div> </td> </tr> <?php //// END: Added for Dynamic MoPics v3.000 ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php $reviews_query = tep_db_query("select count(*) as count from " . TABLE_REVIEWS . " where products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "'"); $reviews = tep_db_fetch_array($reviews_query); if ($reviews['count'] > 0) { ?> <tr> <td class="main"><?php echo TEXT_CURRENT_REVIEWS . ' ' . $reviews['count']; ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php } if (tep_not_null($product_info['products_url'])) { ?> <tr> <td class="main"><?php echo sprintf(TEXT_MORE_INFORMATION, tep_href_link(FILENAME_REDIRECT, 'action=url&goto=' . urlencode($product_info['products_url']), 'NONSSL', true, false)); ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php } if ($product_info['products_date_available'] > date('Y-m-d H:i:s')) { ?> <tr> <td align="center" class="smallText"><?php echo sprintf(TEXT_DATE_AVAILABLE, tep_date_long($product_info['products_date_available'])); ?></td> </tr> <?php } else { ?> <tr> <td align="center" class="smallText"><?php echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added'])); ?></td> </tr> <?php } ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params()) . '">' . tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS) . '</a>'; ?></td> <!-- Wish List 2.3 Start --> <td align="center" class="main"><?php echo tep_draw_hidden_field('wishlist_action', 'add_wishlist') . tep_image_submit('button_wishlist.gif', IMAGE_BUTTON_ADD_WISHLIST, 'onClick="document.cart_quantity.action=\''. tep_href_link(FILENAME_WISHLIST, tep_get_all_get_params(array('action')) . 'action=add_wishlist') . '\';document.cart_quantity.submit();"'); ?></td> <!-- Wish List 2.3 End --> <td class="main" align="right"><?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td> <?php //added for cross -sell if ( (USE_CACHE == 'true') && !SID) { echo tep_cache_also_purchased(3600); include(DIR_WS_MODULES . FILENAME_XSELL_PRODUCTS); } else { include(DIR_WS_MODULES . FILENAME_XSELL_PRODUCTS); include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS); } } ?> </td> </tr> </table></form> <!-- Manufacturer list in product info --> <?php $products_new_array = array(); // Requete sur le meme fabricant $products_new_query_raw = "select p.products_id, pd.products_name, pd.products_description, p.products_model, p.products_quantity, p.products_image, pd.products_url, p.products_price, p.products_tax_class_id, p.products_date_added, p.products_date_available, p.manufacturers_id from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id != '" . $products_id . "' and p.manufacturers_id = '" . $manufacturers_id . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "' order by pd.products_name" ; $products_new_split = new splitPageResults($products_new_query_raw, 40); // La requete depasse le nombre de pages definis dans affichage des nouveaux produits if (($products_new_split->number_of_rows > 0) && ((PREV_NEXT_BAR_LOCATION == '1') || (PREV_NEXT_BAR_LOCATION == '3'))) { ?> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="smallText"><?php echo $products_new_split->display_count(TEXT_DISPLAY_NUMBER_OF_PRODUCTS_NEW); ?></td> <td align="right" class="smallText"><?php echo TEXT_RESULT_PAGE . ' ' . $products_new_split->display_links(MAX_DISPLAY_PAGE_LINKS, tep_get_all_get_params(array('page', 'info', 'x', 'y'))); ?></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php } ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <?php // affichage des produits if ($products_new_split->number_of_rows > 0) { $products_new_query = tep_db_query($products_new_split->sql_query); while ($products_new = tep_db_fetch_array($products_new_query)) { if ($new_price = tep_get_products_special_price($products_new['products_id'])) { $products_price = '<s>' . $currencies->display_price($products_new['products_price'], tep_get_tax_rate($products_new['products_tax_class_id'])) . '</s> <span class="productSpecialPrice">' . $currencies->display_price($new_price, tep_get_tax_rate($products_new['products_tax_class_id'])) . '</span>'; } else { $products_price = $currencies->display_price($products_new['products_price'], tep_get_tax_rate($products_new['products_tax_class_id'])); } ?> <tr> <td width="<?php echo SMALL_IMAGE_WIDTH + 10; ?>" valign="top" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products_new['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $products_new['products_image'], $products_new['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a>'; ?></td> <td valign="top" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products_new['products_id']) . '">' . $products_new['products_name'] . '</a><br><b>' . $products_price; ?></td> <!--<td align="right" valign="middle" class="main"><?php //echo '<a href="' . tep_href_link(FILENAME_PRODUCTS_NEW, tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $products_new['products_id']) . '">' . tep_image_button('button_in_cart.gif', IMAGE_BUTTON_IN_CART) . '</a>'; ?></td>--> </tr> <tr> <td colspüan="2"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php } } ?> </table> <!-- Manufacturer list in product info --> Appreciate some help please. MsKitti
  3. kittidid

    pdf_datasheet_creator v1.40

    Sorry, but I don't need just a link. I would like for the pdf_datasheet creator to work. It creates the pdf pages for you. Thank you for the offer though. Kitti
  4. I don't know why someone would create a mod and not give support for the doggone thing. I have had problems installing this mod for about 2 years now. Never got it working, so I took it off. I just downloaded the newest version figured I try to install it again and maybe with any luck no errors. For the life of me I don't know why I am attempting it again, because if you have problems there is no support/help from the creator or as far as I can see from the forum no one is giving any support. Yes, I am getting errors again, so still no such luck in having a pdf file for product pages. I am not about to waste my time posting for support because I noticed everyone else never received any! Any suggestions, besides not having a pdf page? Kitti
  5. 1054 - Unknown column 'p.products_master' in 'field list' select p.products_id, pd.products_name, p.products_quantity, p.products_image, p.products_price, p.products_date_added, p.products_last_modified, p.products_date_available, p.products_status, p.products_master, p.products_master_status, p.products_listing_status from products p, products_description pd, products_to_categories p2c where p.products_id = pd.products_id and pd.language_id = '1' and p.products_id = p2c.products_id and p2c.categories_id = '0' order by p.products_master Can someone tell me how to resolve this error, please. The error is when I visit http://kittislitter.com/catalog/admin/categories.php. I can see the header and categories but that is it. I do not have a right column at all. When I click on a category, I get the same error. kit
  6. I have installed Master Products 1.1.5. I login and go to the contents page. All I see is one column which contains the categories. No right or left column. On top of the page, below the dhtml menu it states: ______________________________________________________________ 1054 - Unknown column 'p.products_master' in 'field list' select p.products_id, pd.products_name, p.products_quantity, p.products_image, p.products_price, p.products_date_added, p.products_last_modified, p.products_date_available, p.products_status, p.products_master, p.products_master_status, p.products_listing_status from products p, products_description pd, products_to_categories p2c where p.products_id = pd.products_id and pd.language_id = '1' and p.products_id = p2c.products_id and p2c.categories_id = '0' order by p.products_master [TEP STOP] ______________________________________________________________ How can I eliminate this error? I have already inserted the query in phpmyadmin. Kit
  7. I installed the lastest version of the admin_dhtml_menu_v2.1. My browser runs extremely slow when I add products or edit products in the admin control panel. I get a popup stating "a script on this page is causing your browser to run slowly. Your browser may stop running. Do you want to abort the script" When I abort the script (2 times I have to abort it). The broswer updates my products quickly but only after I abort the script. When I look at the javascipt console I see the errors below listed: Error: [Exception... "'Permission denied to get property XULElement.selectedIndex' when calling method: [nsIAutoCompletePopup::selectedIndex]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "JS frame :: http://domainname.com/catalog/admin/includes/menu.js :: buttonClick :: line 112" data: no] Source File: http://domainname.com/catalog/admin/includes/menu.js Line: 112 ___________________________________________________________________ Error: uncaught exception: Permission denied to get property HTMLDivElement.tagName ___________________________________________________________________ Error: [Exception... "'Permission denied to get property XULElement.selectedIndex' when calling method: [nsIAutoCompletePopup::selectedIndex]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "JS frame :: http://domainname.com/catalog/admin/includes/menu.js :: buttonClick :: line 112" data: no] Source File: http://domainname.com/catalog/admin/includes/menu.js Line: 112 ___________________________________________________________________ Error: buttonMouseover is not defined What do I need to do to get rid of this problem and still use the script? Help!! Kit
  8. How do I upgrade to the most current version of Gift Voucher. I am using a version from 2003. I really need to upgrade. I know I can make the necessary changes in each page, but how do I run the sql file. Do I uplaod it and it will overwrite what I have already installed from 2003? Help please. Kitti
  9. kittidid

    Admin Notes

    I have installed Admin Notes v2.2 in my milestone 2.2 store. All is in phpMyAdmin and all changes made to my store files. I have double checked everything. I cannot get rid of this error. Can someone please help. Error: Fatal error: Cannot redeclare tep_db_connect() (previously declared in /home/progroom.com/www/kittislitter.com/catalog/admin/includes/functions/database.php:13) in /home/progroom.com/www/kittislitter.com/catalog/admin/includes/functions/database.php on line 13 Kit
  10. kittidid

    PDF Datasheet 1.4

    Still no help with my problem. Sure could use some advise. I have my product descriptions in catalog/includes/prodtext/. How can I pull these description into the pdf datasheet? Kit
  11. kittidid

    PDF Datasheet 1.4

    I have still yet to receive any help with my issue. Can someone please respond with an answer. I would really appreciate it. Kit
  12. kittidid

    PDF Datasheet 1.4

    I believe it is dead, because I could never receive any help. So my problem never got solved. It is a crying shame that a person makes a mod and then does not give support to those who use it. :huh: Wished I could help you, but I don't know much about this mod. You know, maybe there is another pdf mod out there that we can use. I know I will look around! :thumbsup: Kitti
  13. kittidid

    PDF Datasheet 1.4

    Still no help from anyone? :-" Kitti
  14. kittidid

    PDF Datasheet 1.4

    Please see post PDF Datasheet 1.4 help! Sure need to get this working properly. Help appreciated! Kitti
  15. kittidid

    [Contribution] More Category Boxes

    Recommended: Kitti, run the portion of the SQL file that starts with: DROP TABLE IF EXISTS `categories_more`; -jared I did just as you recommended. I am still getting the same error. Also, in the admin, when I click on more categories, I see 2 rows of "Enable Default Category Box". I don't think I should have 2. I have tried and tried to get this contribution to work for me. I am totally not getting it. Don't know what to do at this point except to await somebody's help. Any help appreciated. Kitti
×