Jump to content

leeofaccy

Member
  • Posts

    276
  • Joined

  • Last visited

Everything posted by leeofaccy

  1. The Courier Tracking field is built in to the Edit Order page, Brian. You are correct, the URL needs the full protocol or the page returns a '404 Not Found' error. Lee
  2. Hi Steve You need to take off, or adjust the left margin on your #imgThumbSpace img style on your layout.css stylesheet. At the moment you have 200px, try 20px. Lee
  3. Hi Try .txtContentTitle on line 169 on your style.css stylesheet. Hope that helps Lee
  4. Try this for your news.inc.php <?php if (! defined('CC_INI_SET')) die("Access Denied"); ## query database $cache = new cache('boxes.news'); $results = $cache->readCache(); if (! $cache->cacheStatus) { $results = $db->select("SELECT nyhet, datum FROM " . $glob['dbprefix'] . "CubeCart_news ORDER BY datum ASC"); $cache->writeCache($results); } $box_content = new XTemplate('boxes' . CC_DS . 'news.tpl'); ## Build attributes if ($results) { foreach ($results as $result) { $result['nyhet'] = validHTML($result['nyhet']); $box_content->assign('NYHET', $result); $box_content->parse('news.li'); } } $box_content->parse('news'); $box_content = $box_content->text('news'); ?> And this on your news.tpl file <!-- BEGIN: news --> <ul> <!-- BEGIN: li --> <li>{NYHET.nyhet}</li> <!-- END: li --> </ul> <!-- END: news --> Lee
  5. Hi This will happen if the country ISO code hasn't been entered or the weight of the order has been exceeded/has not been entered. If you have entered the ISO code for the UK, make sure it's GB NOT UK. Lee
  6. Hi Josh On your viewProd.tpl find this line, near the top <strong>{LANG_DIR_LOC}</strong> <a href="index.php"><img src="skins/{VAL_SKIN}/styleImages/icons/home.gif" alt="{LANG_HOME}" border="0" title="{LANG_HOME}" /></a> {CURRENT_DIR} Wrap a div around it with an inline style. For example <div style="float:left;font-size:14px;margin-bottom:15px"><strong>{LANG_DIR_LOC}</strong> <a href="index.php"><img src="skins/{VAL_SKIN}/styleImages/icons/home.gif" alt="{LANG_HOME}" border="0" title="{LANG_HOME}" /></a> {CURRENT_DIR}</div> Hope that helps Lee
  7. Just make sure you remove it from your server :)
  8. Hi Try this tool http://www.cubecartforums.org/index.php?showtopic=14033 Lee
  9. That *should* have done it. Can you check the options_mid table in phpMyAdmin and see if it has changed to 40? If it is already open try refreshing the page and see if the value has changed.
  10. When you executed the query, did you get a statement appear above the box, something like this?...
  11. I have tested this on my dev site and it worked for me. Yes, the backslashes ARE necessary Brian, it throws an error if you leave them out. The program that controls the 'query' page will insert the prefix. Lee
  12. As Brian mentions, the max length of the string is set to 30 chars in the database. Anything after the 30th character is dropped. You can try an ALTER statement to change the length. Backup your database first! (Maintenance > Backup in admin menu) Under the Maintenance tab in your admin menu, click the Database link. Just above the table you will see a line that looks *something* like this... MySQL 5.1.56-community-log running on localhost as YOUR_DB_NAME@localhost » Click the >> at the end of that line, then in the box that next appears paste in the following. You can change the number (from 40), to the value of your longest option attribute if need be. ALTER TABLE `CubeCart_options_mid` CHANGE `value_name` `value_name` VARCHAR(40) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT \'\' Click 'Execute SQL Queries' Your existing attributes will still only be 30 chars long max because of the 'dropped' characters. You will have to go back into Product Options and add the rest......only hope you don't have many Hope that helps Lee
  13. Hi Peter If you need to hire a programmer, you need to ask over on the sister forum www.cubecartforums.org Lee
  14. Just made another test order and it's now checked Do you know your Logout and Your Account links don't work?
  15. Can you go to your payment module, in admin, and check whether Default is set to Yes. If it isn't, set it and try again to see if the button is 'checked' on the gateway page. Lee
  16. Open includes/content.gateway.inc.php and see if this block on your file, matches the following... if($gatewayModules[$i]['default'] == 1){ $gateway->assign('VAL_CHECKED', 'checked="checked"'); } else { $gateway->assign('VAL_CHECKED', ''); } $gateway->parse('gateway.cart_true.choose_gate.gateways_true');
  17. I made a test order (which you can delete now), so I can see what is happening. Open skins/YOUR_SKIN/styleTemplates/content/gateway.tpl and find this block of code <!-- BEGIN: gateways_true --> <tr> <td class="{TD_CART_CLASS}"><strong>{VAL_GATEWAY_DESC}</strong></td> <td width="50" align="right" class="{TD_CART_CLASS}"> <input name="gateway" type="radio" value="{VAL_GATEWAY_FOLDER}" {VAL_CHECKED} /> </td> </tr> <!-- END: gateways_true --> If {VAL_CHECKED} is missing, enter it, as above. If it is present in the code block, let me know and I will give you another block of code to check. Lee
  18. Can you provide a URL so we can take a look?
  19. Has your site been modified in any way?
  20. If there is only one payment method, it should be selected. Lee
  21. Hi First, in General Settings, under the styles & Misc tab, set Display newest products first to No. Next, open includes/content/viewCat.inc.php and find this block of code (around line 95)... $orderSort = sprintf(' ORDER BY %s %s', $_GET['sort_by'], $orderType); } else { if ($config['cat_newest_first']) { $orderSort = sprintf(' ORDER BY `date_added` DESC, `name` ASC'); } else { $orderSort = false; } } Change it to.... $orderSort = sprintf(' ORDER BY %s %s', $_GET['sort_by'], $orderType); } else { if ($config['cat_newest_first']) { $orderSort = sprintf(' ORDER BY `date_added` DESC, `name` ASC'); } else { $orderSort = sprintf(' ORDER BY `name` ASC'); } } Lee
  22. Open skins / your_skin / styleTemplates / global and open both cart.tpl and index.tpl. Find this.... <div id="topHeader"> Paste the link after, like so.... <div id="topHeader"><a href="index.php" class="topHeaderImg"></a> Add this style your layout.css stylesheet... .topHeaderImg { float: left; height: 95px; margin: -60px 0 0 10px; width: 325px; } Lee
  23. Have you tried clearing the cache (Rebuild & Recount) and/or your browser cache?
  24. It is because your images are different heights. You need to wrap the image in a div and set a height for it. Take the height of your largest thumb and use that (about 75px). On the shorter images, there will obviously be a larger gap between the bottom of it, and the text below. Open skins/YOUR_SKIN_NAME/styleTemplates/content/viewCat.tpl and find this code <!-- BEGIN: sub_cats_loop --> <div class="subCat"> <a href="index.php?_a=viewCat&amp;catId={TXT_LINK_CATID}" class="txtDefault"><img src="{IMG_CATEGORY}" alt="{TXT_CATEGORY}" border="0" title="{TXT_CATEGORY}" /></a><br /> <a href="index.php?_a=viewCat&amp;catId={TXT_LINK_CATID}" class="txtDefault">{TXT_CATEGORY}</a> </div> <!-- END: sub_cats_loop --> Wrap a div around the image link. You can also remove the <br /> tag, like so. <!-- BEGIN: sub_cats_loop --> <div class="subCat"> <div style="height:75px"><a href="index.php?_a=viewCat&amp;catId={TXT_LINK_CATID}" class="txtDefault"><img src="{IMG_CATEGORY}" alt="{TXT_CATEGORY}" border="0" title="{TXT_CATEGORY}" /></a></div> <a href="index.php?_a=viewCat&amp;catId={TXT_LINK_CATID}" class="txtDefault">{TXT_CATEGORY}</a> </div> <!-- END: sub_cats_loop --> Hope that helps Lee
×
×
  • Create New...