Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Stephan (VS)

Pioneers
  • Posts

    109
  • Joined

  • Last visited

Everything posted by Stephan (VS)

  1. Sorry about the .png files, will upload seperate .gif, .png skins in the future. Two Questions. 1. How can I change the background image in Star Product as it's currently using the same as Mindsparx Specials. EDIT: FIXED see last line 2. Concerning Mindsparx Specials, I wanted 3 Columns instead of 2, I got that working but everytime I refresh the page some of the icons get 5 Padding at the top & bottom and some don't. What am I missing? $info_box_contents[$row][$col] = array('align' => 'center', 'params' => ' ', 'text' => ' <table class="box_outline3" width="99%" border="0" cellspacing="10" cellpadding="0"> <tr> <td align="left" valign="top"><div style="padding-top:5px;"><a class="specials_name" href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '">' . $new_products['products_name'] . '</a></div><div align="left" class="specials_desc">'.$show['desc'].'...</div></td> <td width="80" rowspan="3" align="center" valign="middle"><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></td> </tr> <tr> <td height="20" align="center" class="specials_old_price" valign="bottom">'. SPECIALS_OLD_PRICE .'<s>' . $currencies->display_price($new_products['products_price'], tep_get_tax_rate($new_products['products_tax_class_id'])) . '</s></td> </tr> <tr> <td height="30" valign="top"><table align="center" width="96" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="center" width="96" height="26" background="images/special_price.png"><span class="specials_price">'. SPECIALS_PRICE .'' . $currencies->display_price($new_products['products_prix'], tep_get_tax_rate($new_products['products_tax_class_id'])) . '</span></td> </tr> </table> </td> </tr> </table>' ); $col ++; if ($col > 2) { $col = 0; $row ++; } } To make star & Specials use different background images just edit say line 40 in mindsparx_specials.php <table class="box_outline3" width="98%" border="0" cellspacing="10" cellpadding="0"> to <table class="box_outline4" width="98%" border="0" cellspacing="10" cellpadding="0"> And in stylesheet.css change .box_outline3 { (Soecials' css) to .box_outline4 { then add say background-image: url(images/boxbackspecials.jpg); to the bottom of .box_outline3 and background-image: url(images/boxbackspecials2.jpg); to the bottom of .box_outline4.
  2. Uploaded a new skin for Mindsparx 2.0 It's called Rising sun. Feel free to criticize. Any requsts are welcome.
  3. I don't know anything you can put in the php files. If you change the line in stylesheet " .whatsnew a{/* Hyperlink style within specials products*/ " It wont affect anything else. What exactly is "showing wrong" (give details)
  4. Sorry, do you mean you want the colors to match the blue/white theme of your site? (The link only has the php files) You can change the colors in caralog\stylesheet.css, IE the flaming green paintball colour text is set in stylesheet.css as " .whatsnew a{/* Hyperlink style within specials products*/ color:#33FF00; " color:#33FF00; is the paintball green color, change it to color:#00afdc; for the lightish (top) blue. color:#009ec6; for the background (middle) blue. color:#0088a5; for the darker (lower) blue color:#FFFFFF; for the white. I'd use #f7fcff as the box' background on your specific template. PS. Does anyone know how I can make the contribution compatible with newflow? It also uses scripts defined in the heading, when I install this contribution newflows scripts don't work properly. I have moved the scripts above/below each other only to have the adverse effect. I really like the specials & Best sellers, but whats new will be disabled. Here is an example of my index.php: " <script type="text/javascript" src="js/jquery-1.2.6.js"></script> <script type="text/javascript" src="js/jquery.cycle.all.pack.js"></script> <script type="text/javascript" src="js/prototype.js"></script> <script type="text/javascript" src="js/scriptaculous.js"></script> <script type="text/javascript" src="js/reflection.js"></script> <script type="text/javascript" src="js/protoFlow.js"></script> <script language="Javascript"> Event.observe(window, 'load', function(event) { var ProtFlowExample = new ProtoFlow($("protoflow"), { startIndex: 2, //which image do you want the flow to focus on by default interval: 20, slider: false, //show or hide slider? flex: 300, captions: true, //show or hide captions, by default we hide it. So YOU MUST turn it on here autoplay: false, autoplayInterval: 10, useReflection: true, //Add reflection to your images. Please note that this will slow down rendering. enableOnClickScroll: true, //add NEW! if you wish to keep scrolling on click just set this to be true enableKeyboard: true, enableMouse: true }); }); </script> "
  5. How secure is the latest distribution? Are there security risks?
×
×
  • Create New...