-
AuthorPosts
-
orsomannaro Friend
orsomannaro
- Join date:
- January 2008
- Posts:
- 241
- Downloads:
- 32
- Uploads:
- 18
- Thanks:
- 1
- Thanked:
- 3 times in 1 posts
August 17, 2016 at 2:51 pm #960850The 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 ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
August 18, 2016 at 3:16 am #960968Hi
May I know how you want to override this file and which page will have this change?
orsomannaro Friendorsomannaro
- Join date:
- January 2008
- Posts:
- 241
- Downloads:
- 32
- Uploads:
- 18
- Thanks:
- 1
- Thanked:
- 3 times in 1 posts
August 18, 2016 at 3:21 pm #961150I 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 ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
August 19, 2016 at 9:45 am #961384Could you also update the URL and admin login info of your site so I will have a look?
orsomannaro Friendorsomannaro
- Join date:
- January 2008
- Posts:
- 241
- Downloads:
- 32
- Uploads:
- 18
- Thanks:
- 1
- Thanked:
- 3 times in 1 posts
August 19, 2016 at 2:22 pm #961443This reply has been marked as private.Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
August 23, 2016 at 12:33 am #962168Thanks for the info, let me check and will get back to you.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
August 24, 2016 at 9:28 am #962623It 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
-
AuthorPosts
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