Author Topic: Product Gallery with YooGallery and some layout issues  (Read 5619 times)

deus_073

  • Beginner
  • *
  • Posts: 38
Product Gallery with YooGallery and some layout issues
« on: November 04, 2009, 18:14:10 pm »
Hi,

I am using theme S5_shopping_frenzy with "managed" and "flypage.tpl"

*The first layout issue should be solved quite easy:
When you enter a category, let's take this as an example: http://073.ro/test/Youtravel_Demo/component/virtuemart/?page=shop.browse&category_id=149&Treeid=2
you get
Nume     SKU     Pret     Thumb Nail     Descriere     Updateaza
although there are not products there. I wish to remove that, but still keep the tableheading when you enter a more specific category meaning one that has products.

*I use Yoo Gallery to insert a gallery in the product details page. Example:
http://073.ro/test/Youtravel_Demo/rezervari?page=shop.product_details&flypage=flypage.tpl&product_id=151&category_id=153

When you click on the center thumbnails (created by Yoo Gallery) you get a lightbox and you get to scroll between the images. I wish to corelate this to the gallery accesed by clicking the product thumbnail on the top left side.
Currently they are separete. I wish to combine them somehow like this guy did here:
http://www.cazare.com.ro/store.html?page=shop.product_details&flypage=flypage.tpl&product_id=14&category_id=12
When you click on the main thumbnail, all the other pictures are loaded.
I know he uses whiteemerald as a theme but that's it, no other info.
If i upload more pictures in the gallery accesed by the main thumbnail on the top-left side, the extra pictures will appear as thumbnails under it. 2 sets of thumbnails? Don't want that.
Hopefully i was clear. Link the VM native gallery with Yoo Gallery

* 3rd problem, still in http://073.ro/test/Youtravel_Demo/rezervari?page=shop.product_details&flypage=flypage.tpl&product_id=151&category_id=153
The caption under the main thumbnail is cut off. There is a "Click" missing from "a se vedea imagine intreaga"

* Is there anyway i can put Related Items and Customer Reviews not so down low? Specifically under tabs. Maybe other ways?


deus_073

  • Beginner
  • *
  • Posts: 38
Re: Product Gallery with YooGallery and some layout issues
« Reply #1 on: November 05, 2009, 13:41:02 pm »
The Yoo Gallery problem was solved through fixing the JS conflict.
Still, i need help with the 1) and 3) problem. The 4th one is important as well, but with less priority

rb

  • Advanced
  • Full Member
  • *****
  • Posts: 1503
Re: Product Gallery with YooGallery and some layout issues
« Reply #2 on: November 05, 2009, 18:47:27 pm »
The answer to the first question involves editing this file (make a backup of it first):

/components/com_virtuemart/themes/default/templates/browse/includes/browse_listtable.tpl.php

Around line 68 in version 1.1.3 (it may be different in 1.1.4), find this code:
Code: [Select]
// Display the table
echo $table->toHtml();
?>

We'll change it so it checks for No products and suppresses the table header if there are none:
Code: [Select]
// Display the table
if ($row > 0) {
echo $table->toHtml();
};
?>