test
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • orsomannaro Friend
    #960850

    The html file for Virtuemart categories layout is:

    templates/ja_techzone/html/com_virtuemart/sublayouts/categories.php

    To override this file I create a copy under the "local" folder:

    templates/ja_techzone/local/html/com_virtuemart/sublayouts/categories.php

    but for some reason this doesn’t work (the change I made in this file has no effect in categories layout). I’m doing something wrong?

    TIA

    Saguaros Moderator
    #960968

    Hi

    May I know how you want to override this file and which page will have this change?

    orsomannaro Friend
    #961150

    I set VirtueMart Home Page Settings to show only categories.

    But your layout for this is very poor.

    So I change templates/ja_techzone/html/com_virtuemart/sublayouts/categories.php from this:

              // Show Category ?>
        <div class="category floatleft<?php echo $category_cellwidth . $show_vertical_separator ?>">
          <div class="spacer">
            <h2>
              <?php echo $category->category_name ?>
              <a href="<?php echo $caturl ?>" title="<?php echo $category->category_name ?>">
              <?php // if ($category->ids) {
                echo $category->images[0]->displayMediaThumb("",false);
              //} ?>
              </a>
            </h2>
          </div>
        </div>

    to this:

              // Show Category ?>
        <div class="category floatleft<?php echo $category_cellwidth . $show_vertical_separator ?>">
          <div class="spacer">
    
            <div class="product-container clearfix">
                <div class="vm-product-media-container">
    
                      <a href="<?php echo $caturl ?>" title="<?php echo $category->category_name ?>">
                      <?php // if ($category->ids) {
                        echo $category->images[0]->displayMediaThumb("",false);
                      //} ?>
                      </a>
                    <h2>
                      <?php echo $category->category_name ?>
                    </h2>
    
              </div>
            </div>
    
          </div>
        </div>

    so both products and categories layout look similar

    Saguaros Moderator
    #961384

    Could you also update the URL and admin login info of your site so I will have a look?

    orsomannaro Friend
    #961443
    This reply has been marked as private.
    Saguaros Moderator
    #962168

    Thanks for the info, let me check and will get back to you.

    Saguaros Moderator
    #962623

    It seems to be issue here, I’ve passed to the team for further checking, you can tracks its progress here: http://pm.joomlart.com/browse/JATECHZONE-118

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

This topic contains 6 replies, has 2 voices, and was last updated by  Saguaros 8 years, 4 months ago.

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