Jump to content

roban

Member
  • Posts

    3,238
  • Joined

  • Last visited

Everything posted by roban

  1. Looks to me like you're stuffing 10 pounds of potatoes in a 5 pound bag. Your table is not high enough (it's about 130 px) for the images you are stuffing in there (about 160 px). Make your images smaller or your table higher.
  2. roban

    Feedback Please

    I found that plane flying to be very distracting. I thought I was looking at a re-enactment of 911 and it was going to fly right into one of the buildings. What does that have to do with your site? Some folks like to put stuff on their sites just to prove that they can do it and it has nothing whatsoever to do with selling. IMO you are taking your potential customer's focus away from your product and that's not a gereat thing to do on an ecommerce site.
  3. You can check the skins available at cubecart.org but this shouldn't be too difficult to do.
  4. You would be better served by posting this at cubecart.org
  5. You will have to make the side columns wider to accommodate. In layout.css: .colLeft { position: relative; left: 0px; width: 160px; padding-left: 9px; padding-right: 5px; float: left; } .colMid { position: relative; width: 398px; float: left; } .colRight { position: relative; width: 160px; padding-left: 5px; right: 9px; float: right; You will also have to adjust title boxes: .boxTitleLeft, .boxTitleRight { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 70%; color: #09347C; background-image: url(../styleImages/backgrounds/boxTitleBg.gif); width: 155px; height: 15px; padding-left: 5px; padding-top: 1px;
  6. In that case: <?php /* +-------------------------------------------------------------------------- | CubeCart v3.0.15 | ======================================== | by Alistair Brookbanks | CubeCart is a Trade Mark of Devellion Limited | Copyright Devellion Limited 2005 - 2006. All rights reserved. | Devellion Limited, | 22 Thomas Heskin Court, | Station Road, | Bishops Stortford, | HERTFORDSHIRE. | CM23 3EE | UNITED KINGDOM | http://www.devellion.com | UK Private Limited Company No. 5323904 | ======================================== | Web: http://www.cubecart.com | Date: Thursday, 4th January 2007 | Email: sales (at) cubecart (dot) com | License Type: CubeCart is NOT Open Source Software and Limitations Apply | Licence Info: http://www.cubecart.com/site/faq/license.php +-------------------------------------------------------------------------- | index.php | ======================================== | Configure Printable Order Form +-------------------------------------------------------------------------- */ include("../../../../includes/ini.inc.php"); include("../../../../includes/global.inc.php"); require_once("../../../../classes/db.inc.php"); $db = new db(); include_once("../../../../includes/functions.inc.php"); $config = fetchDbConfig("config"); include_once("../../../../language/".$config['defaultLang']."/lang.inc.php"); $enableSSl = 1; include_once("../../../../includes/sslSwitch.inc.php"); include("../../../includes/auth.inc.php"); include("../../../includes/header.inc.php"); if(permission("settings","read")==FALSE){ header("Location: ".$GLOBALS['rootRel']."admin/401.php"); exit; } if(isset($_POST['module'])){ include("../../status.php"); include("../../../includes/functions.inc.php"); $module = fetchDbConfig($_GET['folder']); $msg = writeDbConf($_POST['module'], $_GET['folder'], $module); } $module = fetchDbConfig($_GET['folder']); ?> <p class="copyText">Printable Order Form</a></p> <?php if(isset($msg)){ echo stripslashes($msg); } ?> <form action="<?php echo $GLOBALS['rootRel'];?>admin/modules/<?php echo $_GET['module']; ?>/<?php echo $_GET['folder']; ?>/index.php?module=<?php echo $_GET['module']; ?>&folder=<?php echo $_GET['folder']; ?>" method="post" enctype="multipart/form-data"> <table border="0" cellspacing="0" cellpadding="3" class="mainTable"> <tr> <td colspan="2" class="tdTitle">Configuration Settings </td> </tr> <tr> <td align="left" class="tdText"><strong>Status:</strong></td> <td class="tdText"> <select name="module[status]"> <option value="1" <?php if($module['status']==1) echo "selected='selected'"; ?>>Enabled</option> <option value="0" <?php if($module['status']==0) echo "selected='selected'"; ?>>Disabled</option> </select> </td> </tr> <tr> <td align="left" class="tdText"><strong>Allow Payment in multiple Currencies?:</strong> </td> <td class="tdText"> <select name="module[multiCurrency]"> <option value="1" <?php if($module['multiCurrency']==1) echo "selected='selected'"; ?>>Yes</option> <option value="0" <?php if($module['multiCurrency']==0) echo "selected='selected'"; ?>>No</option> </select> </td> <tr> <td align="left" class="tdText"><strong>Description:</strong> </td> <td class="tdText"><input type="text" name="module[desc]" value="<?php echo $module['desc']; ?>" class="textbox" size="30" /> </td> <tr> <td align="left" class="tdText"><strong>Allow Cheque Payments?</strong></td> <td class="tdText"> <select name="module[cheque]"> <option value="1" <?php if($module['cheque']==1) echo "selected='selected'"; ?>>Yes</option> <option value="0" <?php if($module['cheque']==0) echo "selected='selected'"; ?>>No</option> </select></td> </tr> <tr> <td align="left" class="tdText"><strong>Checks payable to:</strong> </td> <td class="tdText"><input type="text" name="module[payableTo]" value="<?php echo $module['payableTo']; ?>" class="textbox" size="30" /></td> </tr> <tr> <td align="left" class="tdText"><strong>Allow Card Payments?</strong></td> <td class="tdText"><select name="module[card]"> <option value="1" <?php if($module['card']==1) echo "selected='selected'"; ?>>Yes</option> <option value="0" <?php if($module['card']==0) echo "selected='selected'"; ?>>No</option> </select></td> </tr> <tr> <td align="left" class="tdText"><strong>Cards Accepted:</strong><br /> (Comma separated) </td> <td class="tdText"><input type="text" name="module[cards]" value="<?php echo $module['cards']; ?>" class="textbox" size="30" /></td> </tr> <tr> <td align="left" class="tdText"><strong>Allow Bank Transfer?</strong></td> <td class="tdText"><select name="module[bank]"> <option value="1" <?php if($module['bank']==1) echo "selected='selected'"; ?>>Yes</option> <option value="0" <?php if($module['bank']==0) echo "selected='selected'"; ?>>No</option> </select> </td> </tr> <td align="left" class="tdText"><strong>Bank Name:</strong></td> <td class="tdText"><input type="text" name="module[bankName]" value="<?php echo $module['bankName']; ?>" class="textbox" size="30" /> </td> </tr> <tr> <td align="left" class="tdText"><strong>Account Name: </strong></td> <td class="tdText"><input type="text" name="module[accName]" value="<?php echo $module['accName']; ?>" class="textbox" size="30" /></td> </tr> <tr> <td align="left" class="tdText"><strong>Sort Code: </strong></td> <td class="tdText"><input type="text" name="module[sortCode]" value="<?php echo $module['sortCode']; ?>" class="textbox" size="30" /></td> </tr> <tr> <td align="left" class="tdText"><strong>Account Number: </strong></td> <td class="tdText"><input type="text" name="module[acNo]" value="<?php echo $module['acNo']; ?>" class="textbox" size="30" /></td> </tr> <tr> <td align="left" class="tdText"><strong>Swift Code: </strong></td> <td class="tdText"><input type="text" name="module[swiftCode]" value="<?php echo $module['swiftCode']; ?>" class="textbox" size="30" /></td> </tr> <tr> <td align="left" valign="top" class="tdText"><strong>Address:</strong></td> <td class="tdText"><textarea name="module[address]" cols="30" rows="5"><?php echo $module['address']; ?></textarea></td> </tr> <tr> <td align="left" valign="top" class="tdText"><strong>Notes to Customer: </strong></td> <td class="tdText"><textarea name="module[notes]" cols="30" rows="5"><?php echo $module['notes']; ?></textarea></td> </tr> <tr> <td align="right" class="tdText"> </td> <td class="tdText"><input type="submit" class="submit" value="Edit Config" /></td> </tr> </table> </form> <?php include("../../../includes/footer.inc.php"); ?>
  7. There is no /modules/gateway/Print_Order_Form/index.php. There is an orderForm.tpl, orderForm.php or transfer.inc
  8. roban

    Feedback Please

    I liked it until the talking head started. Then I was gone.
  9. Shipping and Taxes are 2 distinct settings. How would you like them to be, exactly?
  10. It depends on how you want them ordered. If you want them in alphabetical order do this: Open /includes/contents/viewCat.inc.php Find somewhere @ line 158 $productListQuery = "SELECT ".$glob['dbprefix']."CubeCart_cats_idx.cat_id, ".$glob['dbprefix']."CubeCart_cats_idx.productId, productCode, quantity, description, image, price, name, popularity, sale_price, stock_level, useStockLevel FROM ".$glob['dbprefix']."CubeCart_cats_idx INNER JOIN ".$glob['dbprefix']."CubeCart_inventory ON ".$glob['dbprefix']."CubeCart_cats_idx.productId = ".$glob['dbprefix']."CubeCart_inventory.productId WHERE ".$glob['dbprefix']."CubeCart_cats_idx.cat_id = ".$db->mySQLSafe($_GET['catId']); Replace it with $productListQuery = "SELECT ".$glob['dbprefix']."CubeCart_cats_idx.cat_id, ".$glob['dbprefix']."CubeCart_cats_idx.productId, productCode, quantity, description, image, price, name, popularity, sale_price, stock_level, useStockLevel FROM ".$glob['dbprefix']."CubeCart_cats_idx INNER JOIN ".$glob['dbprefix']."CubeCart_inventory ON ".$glob['dbprefix']."CubeCart_cats_idx.productId = ".$glob['dbprefix']."CubeCart_inventory.productId WHERE ".$glob['dbprefix']."CubeCart_cats_idx.cat_id = ".$db->mySQLSafe($_GET['catId'])." ORDER BY name ASC"; If you want them in a custom order, Sir William has a category Order mod at cubecart.org
  11. In your index.tpl, move these: {RANDOM_PROD} {POPULAR_PRODUCTS} {MAIL_LIST} Where you want them to be.
  12. You're missing a closed </div> in index.tpl. This one I believe: <div class="boxContent"> <span class="txtContentTitle">Energy Efficiency starts with The Activent</span> <br /> Your Activent enabled house or building will change your energy bills immediately - What are you waiting for?<br/> </div> <div class="boxContent"> <span class="txtContentTitle">Latest Products</span> <div>
  13. Try this: Open /includes/contents/viewCat.inc.php Find somewhere @ line 158 $productListQuery = "SELECT ".$glob['dbprefix']."CubeCart_cats_idx.cat_id, ".$glob['dbprefix']."CubeCart_cats_idx.productId, productCode, quantity, description, image, price, name, popularity, sale_price, stock_level, useStockLevel FROM ".$glob['dbprefix']."CubeCart_cats_idx INNER JOIN ".$glob['dbprefix']."CubeCart_inventory ON ".$glob['dbprefix']."CubeCart_cats_idx.productId = ".$glob['dbprefix']."CubeCart_inventory.productId WHERE ".$glob['dbprefix']."CubeCart_cats_idx.cat_id = ".$db->mySQLSafe($_GET['catId']); Replace it with $productListQuery = "SELECT ".$glob['dbprefix']."CubeCart_cats_idx.cat_id, ".$glob['dbprefix']."CubeCart_cats_idx.productId, productCode, quantity, description, image, price, name, popularity, sale_price, stock_level, useStockLevel FROM ".$glob['dbprefix']."CubeCart_cats_idx INNER JOIN ".$glob['dbprefix']."CubeCart_inventory ON ".$glob['dbprefix']."CubeCart_cats_idx.productId = ".$glob['dbprefix']."CubeCart_inventory.productId WHERE ".$glob['dbprefix']."CubeCart_cats_idx.cat_id = ".$db->mySQLSafe($_GET['catId'])." ORDER BY name ASC";
  14. roban

    ssl grief

    What is the url of the site and your ssl settings in admin control panel. Is this a dedicated certificate?
  15. This is all covered in the pinned posts at the top of each section. The files you need to look at are index.tpl and cart.tpl
  16. Thumbnails won't be generated without GD so you'd best sort it out with your host.
  17. Make sure your host supports GD2 and you have it specified in admin control panel/General Settings. Also do a search of the forums for thumbnails.
  18. roban

    Random image?

    I've done this in index.php for another site but never tried on a CC site: <script language="JavaScript" type="text/javascript"> var theImages = new Array() theImages[0] = 'your image source' theImages[1] = 'your image source' theImages[2] = 'your image source' theImages[3] = 'your image source' var j = 0 var p = theImages.length; var preBuffer = new Array() for (i = 0; i > p; i++){ preBuffer = new Image() preBuffer.src = theImages } var whichImage = Math.round(Math.random()*(p-1)); function showImage(){ document.write('<img src="'+theImages[whichImage]+'" alt="header image">'); } </script>
  19. roban

    phpmyadmin

    phpMyAdmin is accessed through your hosting control panel and contains your databases.
  20. I have no problem with http://ccgi.vorlockfoss.plus.com/gagol/ or http://ccgi.vorlockfoss.plus.com/gagol
  21. Either your image directory has the wrong permissions or your images are NOT in the 'images/uploads' directory. Try setting permissions to the images directory at 777. Empty your browser cache and delete cookies.
  22. Your paths tell me that your store is in a directory called 'upload' so your url would be www.yourstore.com/upload. To point it to the root directory try this: $glob['rootDir'] = '/homepages/25/d174409129/htdocs'; $glob['rootRel'] = '/'; $glob['storeURL'] = 'http://www.cstoreclub.com'; Just verify that your files are NOT in the upload directory.
  23. Post the contents of your includes/global.inc file
×
×
  • Create New...