Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Ackis

Archived
  • Posts

    186
  • Joined

  • Last visited

About Ackis

  • Birthday 05/08/1972

Profile Information

Ackis's Achievements

  1. I think there are at least 4 members here (5 including me) asking the same question but no answer or solution. :( Everything works great :thumbsup: but the site doesn't look good at all. :'( When adding more categories the right column and the content of the site falls further down on the site. You cant se any products if you don't scroll down. Does anyone have a solution to this? :blink: All of you who had this problem, have you solved it or deleted more categories? //Jessica
  2. Peter.... I think I have done something stupid :blush: I deleted every file and started all over again... It went well until I should upload the sql file one more time :blush: Now I get this meassege in phpmyadmin. Error SQL-question: INSERT INTO `configuration_group` ( `configuration_group_id` , `configuration_group_title` , `configuration_group_description` , `sort_order` , `visible` ) VALUES ( '8675309', 'More Categories', 'More Category Boxes options', '20', '1' ); MySQL said: #1062 - Duplicate entry '8675309' for key 1 Maby I shoudn't have deleted it? I thought that was the best... to start all over. I found the code you wanted me to change. You are so kind trying to help me and I'm just making a new mess instead. *sorry* Can you help me with this too? //Jessica
  3. Peter, THANK YOU! :rolleyes: I don't need the german language. I will download another version instead and try one more time. (hold your thumbs for me please :) ) Best regards Jessica
  4. Thank you for your answer Peter. :) I read another tip, that I should reinstall everything so I did that. I deleted every file and uploaded them again. Unforunately I didn't get happier this time either. :blink: This is the meassege I get now. Warning: main(includes/boxes/more_categories.php): failed to open stream: No such file or directory in /hsphere/local/home/ackispac/rcmaffian.se/Test/oscommerce_st/catalog/includes/modules/sts_inc/sts_column_left.php on line 37 Warning: main(): Failed opening 'includes/boxes/more_categories.php' for inclusion (include_path='.:/hsphere/shared/apache/libexec/php4ext/php/') in /hsphere/local/home/ackispac/rcmaffian.se/Test/oscommerce_st/catalog/includes/modules/sts_inc/sts_column_left.php on line 37 Hope someone can help me or guide me to the right directions. //Jessica
  5. As I have been seaching for help with my failure installation of "More Categorys" I found "the look" of the categorymenu that I want! :) (bad things always comes with someting good, doesn't it! ) :blush: This site http://www.countrysupplies.com/ Does anyone know what contribution they have used? Please?!! Any help appreciated! :rolleyes: Best regards Jessica
  6. Hi, Have you solved this problem? I got them same :blink: Best regards Jessica
  7. :thumbsup: THANK YOU SO MUCH!!!!!!!!! Have a nice day! ;) Best regards Jessica
  8. I wonder if you "surfalot" would like to help me with one more thing? :blush: I would like to add our logo in the popup-window. At the bottom... to the left of the "next/back" buttons. Could you tell me WHERE in the code I'm suppose to add the image? Can I write like this? <p align="left"> <img border="0" src="images/rclogoliten.gif"> I'm sorry to bather you again. But at least... I'm learning, so hopefully I will be able to do this by my self some day ;) Regards Jessica This is my popup-image.php file.. <?php /* $Id: popup_image.php,v MoPics 6 2003/06/05 23:26:23 Exp $ osCommerce, Open Source E-Commerce Solutions [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url] Copyright © 2003 osCommerce Released under the GNU General Public License Updated by John Wood - www.z-is.net */ require('includes/application_top.php'); $navigation->remove_current_page(); $products_query = tep_db_query("select pd.products_name, p.products_image from " . TABLE_PRODUCTS . " p left join " . TABLE_PRODUCTS_DESCRIPTION . " pd on p.products_id = pd.products_id where p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['pID'] . "' and pd.language_id = '" . (int)$languages_id . "'"); $products = tep_db_fetch_array($products_query); // BOF: More Pics 6 $PID = $HTTP_GET_VARS['pID']; $invis = $HTTP_GET_VARS['invis']; $result = mysql_query("select * from " . TABLE_PRODUCTS . " where products_id = '" . (int)$HTTP_GET_VARS['pID'] . "'"); // EOF: More Pics 6 ?> <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html <?php echo HTML_PARAMS; ?>> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo $products['products_name']; ?></title> <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> <script language="javascript"><!-- var i=0; function resize() { <?php // BOF: More Pics 6 ?> if (document.layers) i=40; if (document.images[0]) window.resizeTo(document.images[0].width +30, document.images[0].height+160-i); <?php // EOF: More Pics 6 ?> self.focus(); } //--></script> <?php // BOF: More Pics 6 ?> <meta http-equiv="Page-Enter" content="blendTrans(Duration=0.5)"> <meta http-equiv="Page-Exit" content="blendTrans(Duration=0.5)"> <?php // EOF: More Pics 6 ?> </head> <body onload="resize();"> <?php // BOF: More Pics 6 ?> <table border="0" cellpadding="0" cellspacing="0" align="center"> <?php // Lets find the last available image ! $image = tep_db_fetch_array($result); if ($image['products_subimage6'] != ''){ $last = '6'; }elseif ($image['products_subimage5'] != ''){ $last = '5'; }elseif ($image['products_subimage4'] != ''){ $last = '4'; }elseif ($image['products_subimage3'] != ''){ $last = '3'; }elseif ($image['products_subimage2'] != ''){ $last = '2'; }elseif ($image['products_subimage1'] != ''){ $last = '1'; }elseif ($image['products_image'] != ''){ $last = '0'; } $next = $invis + '1'; $back = $invis - '1'; ?> <?php if (($invis == '0') || ($invis == '')){ $insert = $image['products_image']; } else { $insert = $image['products_subimage' . $invis. '']; } /* // // for use if you want to define a maximum width and height for the large popup images. // $max_width=0; $max_height=0; $img = DIR_WS_IMAGES . $insert; list($width, $height, $type, $attr) = getimagesize($img); if ($max_width!=0 && $max_width<$width && $max_height!=0 && $max_height<$height) { if (($max_width-$width)>($max_height-$height)) { $width = $max_width; $height = 0; } else { $width = 0; $height = $max_height; } } elseif ($max_width!=0 && $max_width<$width) { $width = $max_width; $height = 0; } elseif ($max_height!=0 && $max_height<$height) { $width = 0; $height = $max_height; } echo '<tr><td align="center"><img src="' . $img . '"' . (($width!=0)?' width="'.$width.'"':'') . (($height!=0)?' height="'.$height.'"':'') . '></td>'; */ // // to use the above code, you must remove the next two lines. // $img = DIR_WS_IMAGES . $insert; echo '<tr><td align="center"><img src="' . $img . '"></td>'; ?> </tr> <tr> <td height="0" align="center"></td></tr> <tr> <td height="20" align="center"> <?php if (($back != '-1') || ($next <= $last)) { echo '<hr color="#666666" size="3">'; } if ($back != '-1'){ echo '<a href="'.tep_href_link('popup_image.php','pID='.$PID.'&invis='.$back).'">' . tep_image(DIR_WS_IMAGES.'left.gif', 'previous', '', '', 'border="0"') . '</a> '; } if ($next <= $last){ echo '<a href="'.tep_href_link('popup_image.php','pID='.$PID.'&invis='. $next).'">' . tep_image(DIR_WS_IMAGES.'right.gif', 'next', '', '', 'border="0"') . '</a>'; } echo '</td></tr>'; ?> </table> <?php // EOF: More Pics 6 ?> </body> </html> <?php require('includes/application_bottom.php'); ?>
  9. THANK YOU!!!!!!!!!! :thumbsup: I deleted the STS-popup file and NOW IT'S WORKING!!! :lol: YOU'RE THE BEST!!!! :thumbsup: Thank you once again for all your help!! Best regards Jessica
  10. The $htmlparams is gone now I think. :) But it didn't help. :( Is there anything wrong with my image_popup code? Thank you!! I love the contribution!!!! Really hope I (you) can get it to work at my site. Best regards Jessica
  11. Could you help me please? I don't know what I've done wrong. :huh: I have STS installed and now MorePics as well. I do get all the pictures on the product info page BUT it doesn't matter which image I click at I still get the first one in the pop-up window!! WHY?? And why doesn't the "back and next" buttons show? Do any of you have a clue what I may have done wrong? Take a look and you'll see what I mean. Just click any image at the page http://rcmaffian.se/oscommerce_st/catalog/...;products_id=23 Please anyone?? Best reards Jessica :blink:
  12. Ok, I've fixed this so don't bather. :) Have a nice day!
  13. I'm so sorry for my unknowledge in this but. There are 2 SQL images.... and I don't have the "go" button. :'( I don't know what to do? :blink: All I know is that it doesn't work yet. Best regards Jessica
×
×
  • Create New...