Virtuemart Category View Some Changes

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Fri Dec 07, 2012 12:31 pm
Reply with quote
Report this post
Hi there,

I have a simple question. I searched the forums and tried myself but couldnt come up with an answer.

http://www.plakdunyasi.com/site/index.php/genelplak

This is my categories page, they are subcategories of a category. (with in a category, my main category page is http://www.plakdunyasi.com/site/)

My question is, I want to move the link on top of the image like the main page. I also want to link the image aswell just like in main category page too.
User avatar
Senior Boarder

GK User
Fri Dec 07, 2012 2:03 pm
Reply with quote
Report this post
Hi

Please open the following file ../templates/gk_bikestore/html/com_virtuemart/default_categories.php

Find this fragment:

Code: Select all
<div class="spacer">
          <h2>
              <a href="<?php echo $caturl ?>" title="<?php echo $category->category_name ?>">
    
       <?php
       if (!empty($category->images)) {
      echo $category->images[0]->displayMediaThumb("", false);
       }
       ?><br />  <?php echo $category->category_name ?>
              </a>
          </h2>
           </div>


and replace it with:

Code: Select all
<div class="spacer">
    <h2>
    <a href="<?php echo $caturl ?>" title="<?php echo $category->category_name ?>">
    <?php echo $category->category_name ?>
     </a>
      </h2>
      <?php
       if (!empty($category->images)) {
      echo $category->images[0]->displayMediaThumb("", false);
       }
       ?><br />
</div>



Cheers ;)
User avatar
Platinum Boarder


cron