Jump to content

roban

Member
  • Posts

    3,238
  • Joined

  • Last visited

Posts posted by roban

  1. While you're sleeping how about giving us some more information. You're not getting any feedback because there is nothing for us to grab on to. Things like that don't just happen. You've got a path problem or you've installed a mod that has messed things up for you.

  2. Why would you call them? If you are looking to edit the products in your Latest Products box there is a mod to do this at cubecart.org. If you simply want to add product images and descriptions in your home page box you can do it by creating a table with as many columns and rows as necessary and add your images and descriptions. Other than that I know of no way to 'call' the products. Perhaps someone else would know.

  3. In layout.css:

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

    Remove float: left; That should do it.

    Also in viewCat.tpl look for this line around line 17

    <img src="{IMG_CURENT_CATEGORY}" alt="{TXT_CURENT_CATEGORY}" border="0" title="{TXT_CURENT_CATEGORY}" />

    You can try adding align="center"

  4. As much as we'd like to continue to answer the same questions over and over again ad infinitum, I am sure you'll agree it's not the easiest thing in the world to do. I implore you to use the pinned posts at the top of each section and the search function. Almost anything you could possibly ask has been answered many, many times. Although we try to be polite in our responses, it is increasingly difficult to repeat the same answer over and over again.

    You cooperation in this is much appreciated.

  5. This has been covered before although I can't recall when or where. My advice is to do a search making sure to search all forums as far back as possible. Sorry I can't be of more help but perhaps another Moderator can be.

  6. When you say "3 columns" are you referring to the Latest Products?

    If so, use the following hack:

    In the includes/content/index.inc.php find this line:

    for($i=0;$i<count($latestProducts);$i++){

    Replace with this code

    $across=4;

    $index->assign("TW",100/$across);

    for($i=0;$i<count($latestProducts);$i++){

    if (!(($i+1) % $across)) {

    $index->assign("TXT_TR","</tr><tr>");

    } else {

    $index->assign("TXT_TR","");

    }

    in skins/{insert skin name}/styleTemplates/content/index.tpl replace all code

    between

    <!-- BEGIN: repeat_prods -->

    and

    CODE

    <!-- END: repeat_prods -->

    including those two lines above with this code

    CODE

    <table width="100%" border="0"><tr>

    <!-- BEGIN: repeat_prods -->

    <td width="{TW}%">

    <div style="float: center; text-align: center;">

    <a href="index.php?act=viewProd&productId={VAL_PRODUCT_ID}"><img src="{VAL_IMG_SRC}" alt="{VAL_PRODUCT_NAME}" border="0" /></a>

    <br />

    <a href="index.php?act=viewProd&productId={VAL_PRODUCT_ID}" class="txtDefault">{VAL_PRODUCT_NAME}</a>

    <br />

    {TXT_PRICE} <span class="txtSale">{TXT_SALE_PRICE}</span>

    </div>

    </td>

    {TXT_TR}

    <!-- END: repeat_prods -->

    </tr></table>

    The $across variable is used to specify number products across.

×
×
  • Create New...