El_Heso
Pioneers-
Posts
150 -
Joined
-
Last visited
Everything posted by El_Heso
-
Hi! Anyone got this contrib working on STS? http://addons.oscommerce.com/info/6431 auctionTastic_1.0_RC_r125[full package]
-
Hi! Anyone got this contrib to work with STS?
-
try this solution: http://www.phpfreaks.com/forums/index.php?topic=299238.0
-
Hi again! everything works in my code as well, i missed to put the .js under includes directory Great contrib Regards Tony :thumbsup:
-
Hi! i have tryed to even download but dont work. Maybe i have done something bad :-) can you see if i missed something in my try to alter the new products: <!-- new_products //--> <?php $new_products_query = tep_db_query("SELECT distinct p.products_id, p.products_image, p.products_tax_class_id, IF (s.status, s.specials_new_products_price, NULL) AS specials_new_products_price, p.products_price, pd.products_name FROM " . TABLE_PRODUCTS . " p LEFT JOIN " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c using(products_id) LEFT JOIN " . TABLE_CATEGORIES . " c USING (categories_id) LEFT JOIN " . TABLE_FEATURED . " f ON p.products_id = f.products_id LEFT JOIN " . TABLE_SPECIALS . " s ON p.products_id = s.products_id LEFT JOIN " . TABLE_PRODUCTS_DESCRIPTION . " pd ON p.products_id = pd.products_id AND pd.language_id = '" . (int)$languages_id . "' where p.products_status = '1' AND f.status = '1' "); $no_of_new_products = tep_db_num_rows($new_products_query); $pblock_html = ''; while ($new_products = tep_db_fetch_array($new_products_query)) { $pblock_html .= '<div class="scrollblock"><div><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '">' . $new_products['products_name'] . '</a></div>'. '<div class="scrollblock_img"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $new_products['products_image'], $new_products['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a></div>'. '<div class="scrollblock_price">'. $currencies->display_price($new_products['products_price'], tep_get_tax_rate($new_products['products_tax_class_id'])) . '</div></div>'; } ?> <table class="scroller" border="0" width="100%" cellspacing="0" cellpadding="0"> <tr><td width="100%" align="right"> <span class="scrollcnter">Page <span class="txt_pn">1</span> of <span class="txt_maxpn"><?php echo ceil($no_of_new_products/5); ?></span> <a href="#" onclick="return false;" class="scrollrestart"> (start over) </a></span> </td></tr> <tr><td width="100%"> <table><tr> <td width="5%" align="right"><img src="images/icons/button_scroll_left_up.gif" class="gol"></td> <td width="90%" class="smallText"> <span class="scrollcontainer"><span class="scrollbox"> <?php echo $pblock_html; ?> </span></span> </td> <td width="5%" align="left"><img src="images/icons/button_scroll_right_up.gif" class="gor"></td> </tr></table> </td></tr> </table> <!-- new_products_eof //--> Regards Tony
-
Hi! Hopefully a great contrib, but my problem is that i can´t scroll to next page any idea how to fix the problem?
-
Hi! I have a problem with STS, i have this code i header in index.php.html: <script language='javascript' type='text/javascript'> function showDiv(pass) { var divs = document.getElementsByTagName('div'); for(i=0;i<divs.length;i++){ if(divs.id.match(pass)){//if they are 'see' divs if (document.getElementById) // DOM3 = IE5, NS6 divs.style.visibility="visible";// show/hide else if (document.layers) // Netscape 4 document.layers[divs].display = 'visible'; else // IE 4 document.all.divs.visibility = 'visible'; } else { if (document.getElementById) divs.style.visibility="hidden"; else if (document.layers) // Netscape 4 document.divs.visibility = 'hidden'; else // IE 4 document.all.divs.visibility = 'hidden'; } } } </script> then this under the body tag: <?php if (HOLIDAY_SETTINGS == 'on') { ?> <div id="F512" > <a href="javascript:showDiv('F256')"><img src="info.png" border="0"></a> </div> <div id="F256" style="position: absolute; left:250px; top:0px; visibility: hidden"> " here is the ordinary code for the page " </div> and my problem is that in the case i click the image the "normal" page shows ( that´s the point ) but every sts tag ex. $categorybox$ don´t show at all it´s blank in the space there it should be a category menu Any idea how to make this work? Regards Tony
-
Hi! I have a problem with STS, i have this code i header in index.php.html: <script language='javascript' type='text/javascript'> function showDiv(pass) { var divs = document.getElementsByTagName('div'); for(i=0;i<divs.length;i++){ if(divs.id.match(pass)){//if they are 'see' divs if (document.getElementById) // DOM3 = IE5, NS6 divs.style.visibility="visible";// show/hide else if (document.layers) // Netscape 4 document.layers[divs].display = 'visible'; else // IE 4 document.all.divs.visibility = 'visible'; } else { if (document.getElementById) divs.style.visibility="hidden"; else if (document.layers) // Netscape 4 document.divs.visibility = 'hidden'; else // IE 4 document.all.divs.visibility = 'hidden'; } } } </script> then this under the body tag: <?php if (HOLIDAY_SETTINGS == 'on') { ?> <div id="F512" > <a href="javascript:showDiv('F256')"><img src="info.png" border="0"></a> </div> <div id="F256" style="position: absolute; left:250px; top:0px; visibility: hidden"> " here is the ordinary code for the page " </div> and my problem is that in the case i click the image the "normal" page shows ( that´s the point ) but every sts tag ex. $categorybox$ don´t show at all it´s blank in the space there it should be a category menu Any idea how to make this work? Regards Tony
-
Hi Bill! I wonder if you can give me some hint how i can manage to include the additional_image to product_info.php.html. Is there a guide or something how to include contributions in sts? how to code for example attributes etc etc so i can figure out how to make the codes for the different logics of each contribution i want to make possible to include in product_info.php.html? Regards Tony
-
Hi! Im trying to manage to inlude additional_image.php in product_info.php.html. from this contribution ( Ultra Pics 2.07.01 - incl. STS + CCGV + LightBox_1 ) I tryed to replicate the function of this beeacuse that was the only function that i found that reminded me of what im trying to do. $sts->start_capture(); if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_also_purchased(3600); } else { include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS); } $sts->stop_capture ('alsopurchased'); // Get the result to the main array $template_pinfo['alsopurchased']= $sts->template['alsopurchased']; // Put it in the product info I thought that this would work beacuse that file also includes from modules as additional_image also do but i cant make this work... Has anyone manage to get it work to use $additionalimage in product_info under content? Regards Tony
-
Credit Class/Gift Vouchers/Discount Coupons 5.10
El_Heso replied to Strider's topic in General Add-Ons Support
Hi! Have someone got CCGV working with Alternative_Checkout? Need help to figure that out Regards Tony -
Hi Bill! Im trying to manage to inlude additional_image.php in product_info.php.html. from thiscontribution ( Ultra Pics 2.07.01 - incl. STS + CCGV + LightBox_1 ) I tryed to replicate the function of this beeacuse that was the only function that i found that reminded me of what im trying to do. $sts->start_capture(); if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_also_purchased(3600); } else { include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS); } $sts->stop_capture ('alsopurchased'); // Get the result to the main array $template_pinfo['alsopurchased']= $sts->template['alsopurchased']; // Put it in the product info I thought that this would work beacuse that file also includes from modules as additional_image also do but i cant make this work... any idea how to get it to work so i only put $additionalimage in product_info under content? Regards Tony
-
Hi Bill! Im trying to manage to inlude additional_image.php in product_info.php.html. from thiscontribution ( Ultra Pics 2.07.01 - incl. STS + CCGV + LightBox_1 ) I tryed to replicate the function of this beeacuse that was the only function that i found that reminded me of what im trying to do. $sts->start_capture(); if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_also_purchased(3600); } else { include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS); } $sts->stop_capture ('alsopurchased'); // Get the result to the main array $template_pinfo['alsopurchased']= $sts->template['alsopurchased']; // Put it in the product info I thought that this would work beacuse that file also includes from modules as additional_image also do but i cant make this work... any idea how to get it to work so i only put $additionalimage in product_info under content? Regards Tony
-
Hi! someone know how to implement easy populate with Product Tabs 2.2 regards Tony
-
Hi! someone know how to implement easy populate with Product Tabs 2.2 regards Tony
-
Change the product_listing_col so it looks like this
El_Heso replied to El_Heso's topic in Templates and Images
Anyone know how to code? Regards Tony -
Hi Bill! can i make this with STS as my other post on the forum: product_listing_col.php And if so can you give me some advice on how to code it Regards Tony
-
Thanks Bill!! It worked perfectly.
-
Hi Bill! Do you know how to put this code into product_info.php.html so it works?? this code come from http://addons.oscommerce.com/info/968 ( Stock display (images / text )) CODE <?php $prod_quantity = tep_get_products_stock($products_id); switch ($prod_quantity) { case 0: print '<img src="images/stock_soldout.gif" border="0">'; break; case 1: print '<img src="images/stock_limitedstock.gif" border="0">'; break; case 2: print '<img src="images/stock_limitedstock.gif" border="0">'; break; case 3: print '<img src="images/stock_instock.gif" border="0">'; break; case 4: print '<img src="images/stock_instock.gif" border="0">'; break; default: print '<img src="images/stock_instock.gif" border="0">'; } ?> I have tryed to implement the code into includes/modules/sts_inc/product_info.php But i dont know how i should make the code Need help Regards Tony
-
Nobody know??
-
Hi! Does someone know how to put this code into product_info.php.html so it works?? <?php $prod_quantity = tep_get_products_stock($products_id); switch ($prod_quantity) { case 0: print '<img src="images/stock_soldout.gif" border="0">'; break; case 1: print '<img src="images/stock_limitedstock.gif" border="0">'; break; case 2: print '<img src="images/stock_limitedstock.gif" border="0">'; break; case 3: print '<img src="images/stock_instock.gif" border="0">'; break; case 4: print '<img src="images/stock_instock.gif" border="0">'; break; default: print '<img src="images/stock_instock.gif" border="0">'; } ?> I have tryed to implement the code into includes/modules/sts_inc/product_info.php But i dont know how i should make the code Need help Regards Tony
-
i deleted it! wrong place
-
Yes i have STS installed
-
Anyone know and can get me some tip how to manage this??