Shopping Basket

 x 

Cart empty


Log In

Find Us Elsewhere

SSL

Forum Search

Keyword

Flash 3D Slideshow Advanced Config

  • CharlottesWW
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
8 years 8 months ago #5 by CharlottesWW
Flash 3D Slideshow Advanced Config was created by CharlottesWW
Thank you for your work, this slideshow solved a lot of my problems building a site for an artist.

Is it possible to exclude child products from the slideshow? I have each available image listed as a VirtueMart product with items/child products for other things like prints and t-shirts, but the child products use the same thumbnail (at least for now). It would be great if the slideshow only used parent products so that there wouldn't be a bunch of duplicate images.

Also, is there a way to change the size or placement of the caption bar? To make the images the focus, it would be great if the caption bar could be under the slideshow or shorter to take up less space.

Thanks so much.

Please Log in or Create an account to join the conversation.

More
8 years 8 months ago #6 by boggler
Replied by boggler on topic Flash 3D Slideshow Advanced Config
Great, glad it is useful.

You should be able to exclude child products by modifying the SQL query in the galleryXML component. The file that you need to modify is the frontend file

components/com_vmgalleryxml/models/vmgalleryxml.php

the line that you need to modify is either
$q .= "product_publish='Y' ";

which you will want to modify to
$q .= "product_publish='Y' AND product_parent_id='0' ";

or
$q .= "AND #__vm_product.product_publish='Y' \n";

which you will modify to

$q .= "AND #__vm_product.product_publish='Y' AND #__vm_product.product_parent_id='0' \n";

Each of these lines occur several times, so you will need to make sure you find the correct one, or change it in all cases.

If you are used to php it is quite simple, but if you are not then I realise it could be a bit confusing. I would be happy to send you a modified file if you need it.

Please Log in or Create an account to join the conversation.

More
8 years 8 months ago #7 by boggler
Replied by boggler on topic Flash 3D Slideshow Advanced Config
In answer to your second question, it is not easy to change the position of the information pane, I suggest you change the colour to a lighter one, possibly close to the background, then it won't stand out.

Please Log in or Create an account to join the conversation.

  • CharlottesWW
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
8 years 8 months ago #23 by CharlottesWW
Replied by CharlottesWW on topic Flash 3D Slideshow Advanced Config
Hi,

Thank you for your response. I hadn't thought of changing the color, that works wonderfully.

To exclude the child products, I tried to edit the file you indicated, but I must have done something wrong, it didn't seem to change anything. I think I need a modified file.

Thank you so much.

Please Log in or Create an account to join the conversation.

More
8 years 8 months ago #25 by boggler
Replied by boggler on topic Flash 3D Slideshow Advanced Config
You need to change the code in several different places, depending on which module type you are using eg top products, random products etc.

Anyway it is probably quicker to just do it than to explain it, so I will send you a modified file. You will need to copy it to your site, to components/com_vmgalleryxml/models/vmgalleryxml.php

Please Log in or Create an account to join the conversation.

Moderators: boggler
Time to create page: 0.186 seconds

Donate to Us

If you like our extensions, consider making a donation to say thanks.