Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • daoud Friend
    #124403

    i was wondering if it was possible to replace the search module on fagus with the shopping cart module from larix and get it to work fully with virtuemart. What images, css, code etc. do i have to change. really only problem i haven’t been able to figure out, being a total newbie. Not asking to support virtuemart, but just want to replicate for fagus.

    Thank you in advance

    Menalto Friend
    #234611

    Find the image: vm-cart-bg.gif and button-viewcart.gif and put them in the images folder.

    Add this to the template_css.css file at bottom:


    #ja-vm-cart {
    color: #FFFFFF;
    width: 243px;
    margin: 0px;
    padding-left: 20px;
    position: absolute;
    top: 0px;
    right: 0px;
    background: url(../images/vm-cart-bg.gif) top right no-repeat;
    }

    #ja-vm-cart div.moduletable h3 {
    margin: 10px 0px 0px -70px;
    padding: 0;
    text-transform: uppercase;
    background: none;
    border-top: none;
    text-align: center;
    }

    #ja-vm-cart div.moduletable a {
    display: block;
    width: 100px;
    height: 19px;
    margin: 5px 0 0 0;
    text-indent: -2000px;
    background: url(../images/button-viewcart.gif) top right no-repeat;
    outline: none;
    }

    #ja-vm-cart br {
    display: none;
    }

    Find this in the index.php


    <?php if (mosCountModules('user4')) { ?>
    <div id="ja-search" class="ja-transbg">
    <?php mosLoadModules('user4', -1); ?>
    </div>
    <?php } ?>

    And replace it with this:


    <?php if (mosCountModules('user4')) { ?>
    <div id="ja-vm-cart" class="ja-transbg">
    <?php mosLoadModules('user4', -2); ?>
    </div>
    <?php } ?>

    Try that first and if it does not work please let me know?

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

This topic contains 2 replies, has 2 voices, and was last updated by  Menalto 16 years, 11 months ago.

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