test
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • riomega Friend
    #177653

    Hi,
    i’ve finally finished shop http://www.hibike.pl i made using ja_orisite template.
    I’ve had most problems with Virtuemart, because of changing versions during website deployment (VM went from 2.04 to 2.06 during just few weeks).
    Code hacks made:
    in vm_products : correction in line 9 of tmpl/default.php:
    before change there was something like ‘floatleft” ? (where did it came from?) and after:
    if ($products_per_row > 1) { $float=”left”;}

    in:
    administrator/components/com_virtuemart/models/product.php:
    around line 343:


    case 'latest':
    $date = JFactory::getDate( time()-(60*60*24*7*52) );
    $dateSql = $date->toMySQL();
    $where[] = 'p.`modified_on` > "'.$dateSql.'" ';
    $orderBy = 'ORDER BY p.`modified_on`';
    $this->filter_order_Dir = 'DESC';
    break;

    change was adding *52 at the end of the stiring in $date. By default VM was showing only products added in last 7 days.

    other modules:
    in
    mod_facebooks_slide_likebox
    corrections in style1.css to make it XHTML-compatibile


    #likebox_1 {
    z-index: 10005;
    border:2px solid #3c95d9
    background-color: #fff
    width:196px;
    height: 353px;
    position: fixed;
    top: 18%;
    right: -200px;
    }

    #likebox_1_1 {
    width:196px;
    height: 353px;
    overflow: hidden;
    }

    #likebox_1 img {
    position: absolute;
    top: -2px;
    left: -35px;
    cursor: pointer;
    }

    #likebox_1 iframe {
    border:0px solid #3c95d9
    overflow: hidden;
    position: static;
    width: 195px;
    height: 360px;
    left:-2px;
    top:-3px;
    }

    and some small tweaks in k2 , com_virtuemart files to make it compatibile with polish language.
    Unfortunately it’s only in polish so You have to use google translate or sth else:)

    kuerten Friend
    #455570

    Nice work. I love the color combination. Works good on google auto translate too.

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  kuerten 12 years, 6 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum