News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

product->images[1]->displayMediaFull crash

Started by conejo, November 22, 2013, 12:02:16 PM

Previous topic - Next topic

conejo

Hello together,

Versions:
Joomla! 2.5.11
VM  2.0.24a

I´m working in override file my-template/html/com_virtuemart/category/mydefault.php
The code "product->images[0]->displayMediaFull(..." work fine.
If y try to access the second image "product->images[1]->displayMediaFull" crash the site.
I´m sure there are 2 images and the count is > 1.
interesting is that in the product details view works without any problem file (my template/html/com_virtuemart/productdetails/default_images.php)

I think there are a problem to access the images in the category view.

Many thanks,

Alejandro

Maxim Pishnyak

You should allow using >1 images in category view html php file. Search forum for additional details.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

conejo

Hello Maxim,
sorry about the delay!
This works! Thanks a lot.

My problem is now that after a vm2 update this change will lost.
I would like to do this change in my overiveded file "my-template/html/com_virtuemart/category/mydefault.php".

Many thanks,
Alejandro