News:

Support the VirtueMart project and become a member

Main Menu

[Bug] Missing data about images in content events

Started by thelordofweb, April 29, 2012, 14:38:07 PM

Previous topic - Next topic

thelordofweb

Hi,

Information about versions
VirtueMart 2.0.6
Joomla! 2.5

Description:
I think the data about product images must be part of object which plugins pass as parameter.

For example:
I have a plugin executed by event "onContentBeforeDisplay". I need the data of the  images but its missing.

Proposed fix(es):
I suggest you to move this code before triggers executing.

$product_model->addImages($product);

which is on line 147 in file
\ex\components\com_virtuemart\views\productdetails\view.html.php

Cheers,
Todor