Jump to content

markscarts

Member
  • Posts

    2,486
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by markscarts

  1. Regarding installation, on the compatibility check page appear messages regarding optional features, for instance, in my local installation the following were not installed:

    APC

    bz2

    EXIF

    FileInfo

    memcache

    XCache

    XDebug

    Where can I find info about what effect each of the optional features has on the installation? 5.0.5

  2. Name attribute and id attribute must be identical on an element to be valid. In the CubeCart skins, for instance Kitablue, the form tag on line 13 uses the productId from database as an id for the form, while the name is set as "addtobasket" leading to invalid html code.

    My question is, Is it necessary to have the id set as product id, or put another way, what will be the effect on function, if any, if the id is set as "addtobasket"?

  3. Super, was hoping to find a post like this, since I've never gotten v4 to work with my wamp5. Have now installed the new wampserver 2 and will try again!

    An aside - I had probs with running skype and wamp5 together and resolved it by poking around in skype till I found where to change the port setting. wampserver 2 started straightaway with skype running. I don't remember where I found the setting, but you can find a place in skype settings to change the port.

  4. Kudos, Joe. I like the stock CubeCart skins. Though you've moved on, I would like to say that you've given your customer great value for $200.00 IMO

    Interesting comments about white on black by you guys, thanks for sharing your thoughts.

  5. It is a mistake removing the {CONTENT} tag because that represents all content dynamically added to the page . . .

    If you want to have your own static html on the page rather than the normal content for index page, you should do it to styleTemplates/content/index.tpl instead of global/index.tpl. Here's how:

    Save a backup of styleTemplates/content/index.tpl to styleTemplates/content/backup_index.tpl

    Open styleTemplates/content/index.tpl and delete everything between these code tags:

    <!-- BEGIN: index -->

    and

    <!-- END: index -->

    Be sure to leave those tags at the beginning and end of the file. Between them, paste the html code for your page.

    DO NOT use any <head> <body> or <html> tags, as these are already generated in your CubeCart pages, all you need is the code for the part of the page that you want to fill content section.

  6. In that case you would be using Killer skin. Look in styleTemplates/global/index.tpl and in styleTemplates/global/cart.tpl and find the division that contained the search and log-in box, and remove the entire division.

    If there is some reason that you need to leave the containing division, then go into the stylesheets and find where the background image is specified for the search box division, and remove all code regarding background image.

    Remember that when you remove a division, you should remove also the contents of the division and the closing division tag as well </div>

  7. Yes, I have a fix for it. Surprisingly you are the first ever to ask in the forums that I have seen. I offer a third-party validation service, and regularly see errors in CubeCart stores due to this.

    To fix this validation issue, open the file classes/db.inc.php

    Find the following line of code, it is a part of the code for the paginate function and is found around line 130 in 3.0.17 file:

    $queryString = "&" . htmlentities(implode("&", $newParams));
    
    
    
    
    Change that code to this:
    
    
    
    
    
    $queryString = "&amp;" . htmlentities(implode("&", $newParams));

    :sourcerer: voila! Your validation error should be a thing of the past.

  8. OK, try this, instead of:

    } else {
    
    	
    
    	$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']);

    Make it:

    } else {

    $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 productCode ASC";

  9. I think this will be a simple fix for you. Look in the stylesheets (layout.css, I think) where you presently have this code:

    .latestProds {
    
    	float: left;
    
    	text-align: center;
    
    	width: 131px;
    
    	height: 120px;
    
    }

    Increase the height setting there, as this is cuasing the issue. floating divisions are "hanging up" on the ones above that have three lines of text, because the divisions have not enough height to account for the overflowing text.

    ----------------------------

    Another thing, please change the color of the copyright text, it is partially obscured by the site background.

  10. Just an update here ~

    This problem was caused by SEO mod at my client's site. I have see similar things in the past due to SEO mod, so I will assume that EVERYONE in this thread has rukiman's SEO mod installed, until someone can verify otherwise.

    I removed two entries from spiders.txt in the root of store:

    msnbot

    msn

    After which, the so-called "butterfly browser" rendered the login info properly. Remember that SEO mod kills sessions for webbots and spiders, it is responsible for removing the login box for any browser which identifies itself in such a way that the mod presumes it is a spider.

    Since I was unable to locate and download a "butterfly browser" I have been unable to fully test it and determine whether only one or the other, msnbot or msn, can be removed to make this work.

    :)

  11. OMG, no need to post the whole file :)

    Anyway, you have three product list queries ($productListQuery)

    The first is used for displaing search term results ($like)

    The second is used for displaying sale items

    The third is used for displaying product list by current category

    You can append your ORDER BY in the end of each of those queries :) It is the third one you are probably most concerned with, as these are the actual viewCat product lists normally used in browsing apart from search or sale items link.

  12. I'm not aware of any existing mods for this. I have seen a coup[le of other carts that put some options in the view category product lists, but I haven't done it yet with CubeCart.

    I would encourage you to try it. Just keep backups of the original files in case of failure.

    More than likely, viewCat.inc.php and viewCat.tpl are the only two files you will have to code in to obtain these results . . . unless you have need of going in to the js files and admin files dealing with options, depends a bit on just how you want the options to look and work there.

    Start by comparing viewCat.inc.php with the code in viewProd.inc.php.

    Good luck.

  13. Set a line height for .li in the stylesheets, that will help IE since the browser is incapable of figuring out what the line height should be. Try line-height: 1.6em;

    I find that something between 1.3em and 1.8em usually looks best. Setting a static line-height will ensure that all browsers render it very close to the same spacing.

  14. Well, this is an interesting old thread. I am glad my client found this thread, one of his customers is using some sort of an "msn ie" browser and experiencing this same issue.

    If anyone here is still interested in this issue, I have a question: Can it be verified whether the sites that are experiencing these problems have rukiman's SEO mod installed?

    There are two entries in spiders.txt:

    msnbot

    msn

    I am going to try removing those from the client's site to see if it makes a difference. Of course, it won't help with msnsearch SEO, but perhaps it is causing this problem with sessions box :)

    Another note: I could not actually find a download link for this browser to test it myself. Nothing straightforward in the way of a download link for MSN IE or MSN Butterfly

  15. I love flashfxp :) it's a good ftp client

    @Roban, you should have .php files set to transfer in ASCII automatically, so if a couple of them need to go in binary, you'll have to do it manually

    You should keep the auto setting for .php set to ASCII, though, IMO

×
×
  • Create New...