Jump to content

roban

Member
  • Posts

    3,238
  • Joined

  • Last visited

Posts posted by roban

  1. The golfball site is looking good. One suggestion: On the Titlist (spelling) product page you have 6 images of golfballs all alike. Why not put some images of people playing golf and enjoying it. It will do 2 things: 1. Your site will be more interesting and 2. people will relate to hitting a golfball with having fun (little do they know :D )

  2. It is my understanding if you already have a certificate on your server you don't have to do anything with Cube Cart. I have a certificate with GeoTrust and it means that I am switched to a permanent IP address on my server where all transactions take place. And you are correct about the directory. It is public_html.

  3. Now we're getting somewhere. This means that the data is not being pulled from the database.

    copy/paste the following and sav it as includes\content\viewDoc.inc overwriting the original.

    <?php

    /*

    +--------------------------------------------------------------------------

    | CubeCart v3.0.2

    | ========================================

    | by Alistair Brookbanks

    | CubeCart is a Trade Mark of Devellion Limited

    | © 2005 Devellion Limited

    | Devellion Limited,

    | Westfield Lodge,

    | Westland Green,

    | Little Hadham,

    | Nr Ware, HERTS.

    | SG11 2AL

    | UNITED KINGDOM

    | http://www.devellion.com

    | UK Private Limited Company No. 5323904

    | ========================================

    | Web: http://www.cubecart.com

    | Date: Friday, 12 August 2005

    | Email: info (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

    +--------------------------------------------------------------------------

    | viewDoc.inc.php

    | ========================================

    | Displays a site document

    +--------------------------------------------------------------------------

    */

    // query database

    if(!isset($config)){

    echo "<html>\r\n<head>\r\n<title>Forbidden 403</title>\r\n</head>\r\n<body><h3>Forbidden 403</h3>\r\nThe document you are requesting is forbidden.\r\n</body>\r\n</html>";

    exit;

    }

    if($lang_folder !== $config['defaultLang']){

    $result = $db->select("SELECT doc_name, doc_content FROM ".$glob['dbprefix']."CubeCart_docs_lang WHERE doc_master_id = ".$db->mySQLSafe($_GET['docId'])." AND doc_lang=".$db->mySQLSafe($lang_folder));

    }

    if(!isset($result) || $result==FALSE) {

    $result = $db->select("SELECT doc_name, doc_content FROM ".$glob['dbprefix']."CubeCart_docs WHERE doc_id = ".$db->mySQLSafe($_GET['docId']));

    }

    $view_doc=new XTemplate ("skins/".$config['skinDir']."/styleTemplates/content/viewDoc.tpl");

    if(isset($result) && $result == TRUE){

    $view_doc->assign("DOC_NAME",$result[0]['doc_name']);

    $view_doc->assign("DOC_CONTENT",$result[0]['doc_content']);

    } else {

    $view_doc->assign("DOC_NAME",$lang['front']['viewDoc']['error']);

    $view_doc->assign("DOC_CONTENT",$lang['front']['viewDoc']['does_not_exist']);

    }

    $view_doc->parse("view_doc");

    $page_content = $view_doc->text("view_doc");

    ?>

  4. This is where we seperate the men from the boys:

    Log on to your host and go into your CC database, hopefully into PHPMyAdmin and open your cc database. Look for CubeCart_docs and open it. Select all and choose 'change' this will open it for editing. If your text was saved you should see it all there. If not then you have a database problem.

  5. Legend\styleTemplates\boxes\siteDocs.tpl

    <!-- BEGIN: site_docs -->

    <div class="siteDocs">

    <!-- BEGIN: a -->

    <a href="index.php?act=viewDoc&amp;docId={DATA.doc_id}" class="txtSiteDocs">{DATA.doc_name}</a>

    <!-- BEGIN: sep --><span class="txtSiteDocs">|</span><!-- END: sep -->

    <!-- END: a -->

    </div>

    <!-- END: site_docs -->

  6. This is my Legend/layout.css Compare to yours or save it as layout.css and upload.

    body {

    margin: 5px;

    background-color: #000013;

    background-attachment: fixed;

    background-image: url(../styleImages/backgrounds/pageBg.jpg);

    background-repeat: repeat-x;

    background-position: top;

    }

    #pageSurround {

    width: 748px;

    margin: 0px auto;

    padding: 5px;

    border: 1px solid #000000;

    background-color: #FFFFFF;

    }

    #subSurround {

    border: 1px solid #5C84CE;

    background-image: url(../styleImages/backgrounds/contentBg.jpg);

    background-repeat: repeat-x;

    background-position: bottom;

    }

    #topHeader {

    text-align: right;

    height: 116px;

    margin-bottom: 10px;

    padding-right: 9px;

    padding-top: 0px;

    background-image: url(../styleImages/backgrounds/topHeader.jpg);

    border-bottom: 1px solid #000000;

    }

    .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;

    }

    .boxContentLeft, .boxContentRight {

    border-left: 2px solid #0E51A3;

    border-right: 2px solid #0E51A3;

    border-bottom: 2px solid #0E51A3;

    background-color: #FFFFFF;

    padding-left: 5px;

    margin-bottom: 10px;

    padding-top: 3px;

    padding-bottom: 5px;

    }

    .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;

    }

    .boxContent {

    border-top: 1px solid #A8B4B0;

    border-right: 1px solid #5E85CF;

    border-bottom: 1px solid #5E85CF;

    border-left: 1px solid #5E85CF;

    padding: 3px;

    font-family: Verdana, Arial, Helvetica, sans-serif;

    font-size: 75%;

    color: #333333;

    background-color: #FFFFFF;

    margin-bottom: 5px;

    }

    /* CHECKOUT PAGES */

    .colLeftCheckout {

    position: relative;

    left: 0px;

    width: 160px;

    padding-left: 9px;

    padding-right: 10px;

    float: left;

    }

    .colMainCheckout {

    position: relative;

    width: 558px;

    float: left;

    }

    /* END CHECK OUT PAGES */

    .siteDocs {

    text-align:center;

    margin-top: 10px;

    }

    .pagination {

    text-align: right;

    padding-top: 5px;

    padding-bottom: 5px;

    }

    #subCats {

    background-color: #EBEDFE;

    text-align: center;

    border: 1px solid #C9CEFC;

    margin: 0px;

    padding: 3px;

    float: left;

    width: 387px;

    }

    .subCat {

    text-align: center;

    padding: 8px;

    float: left;

    width: 110px;

    }

    .regSep{

    padding: 10px 0px 10px 0px;

    margin: 10px 0px 10px 0px;

    border-top: 1px solid #cccccc;

    border-bottom: 1px solid #cccccc;

    }

  7. So you are saying that you've created new documents and the links are not showing or you've added information to the existing documents (about us, contact us) and the text is not showing. I thought you had no documents listed at all but the default ones are showing they just have no information in them. Maybe if you switch skins I can see exactly what you mean. If you've created new ones and they are not showing please tell me exactly how you create them.

  8. You should not have to upload thumbnails as they are generated automatically. If you haven't changed anything and you've uploaded all of CC to your server then something is missing or you are expecting thumbnails in the wrong place. On your server in the 'images/uploads' folder, do you have a folder called 'thumbs'? It should be there. Where do they NOT appear?

  9. I use Killer skin but to test your post I switched to Legend and the site docs were there but barely visible because they are almost the same color as the background. Try this:

    skins\Legend\styleSheets\style.css change

    .txtSiteDocs, a.txtSiteDocs {

    font-family: Arial, Helvetica, sans-serif;

    font-size: 70%;

    color: #0B4492;

    text-decoration:none;

    to:

    .txtSiteDocs, a.txtSiteDocs {

    font-family: Arial, Helvetica, sans-serif;

    font-size: 70%;

    color: #000000;

    text-decoration:none;

    and see if they are there.

  10. I guess you found out you can't just rename and change the directory without some serious editing. My advice to you would be to change back to cubecart and do a permanent 301 htaccess redirect from http://www.mysite.co.uk/shop to http://www.mysite.co.uk/cubecart. That way if someone enters http://www.mysite.co.uk/shop into their browser it will automatically redirect to http://www.mysite.co.uk/cubecart. Do a search on this site for 301 redirect or Google it. It's an easy fix and search engine friendly.

×
×
  • Create New...