News:

Support the VirtueMart project and become a member

Main Menu

Additional images in one column (version 2)

Started by bestcons, November 13, 2014, 22:02:52 PM

Previous topic - Next topic

bestcons

While using VM 2.0.22b I posted a question to have the additional imges in one column (http://forum.virtuemart.net/index.php?topic=118284.msg400820#msg400820) which was satisfactorily answered. I had to adapt views/productdetails/tmpl/default_images.php. Up till now with every update for VM (currently 2.6.12) I replaced the new default_images.php with the earlier modified version. I checked once more the content of the default_images.php file and noticed that the content has been adapted and that the earlier modfiction is no longer possible.
Can someone advise me about the adaptations I have to make on the most recent default_images,php to obtain the identical result.
Thanks
bestcons

corkys

I had a similar problem. They have added a new file default_images_additional.php for the additional images. it is called from the default.php on line 195.

Hope that helps.

bestcons

Hi CorkysFoorwear, Thanks for your response. However I have great difficulties in understanding. You are saying : They have added a new default_images_additional.php. I do not see this file in the productdetails/tmpl folder. Besides the default_images.php file only contains 102 lines.
So can you be somewhat more detailed for me as a beginner.

jenkinhill

default_images_additional.php is a VM3 file - this next version has a more advanced templating system. The latest RC is 2.9.9.5
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

bestcons

Thanks Kelvyn,
But how to get the solution for my vm 2.6.12?
Regards,
bestcons

bestcons

In the meantime I have migrated the testwebsite to VM 3.0.2. The question however remains.
In attachment 1 you see the additional images in a column in VM 2.6.14. Clicking on one of these images brings this image to the top large image. That is OK and considered as the reference. In attachment 2 you see in VN 3.0.2 the additional images in a row and not clickable.
Please advise.
bestcons

[attachment cleanup by admin]

bluezeyes

Quote from: bestcons on January 03, 2015, 21:34:06 PM
In the meantime I have migrated the testwebsite to VM 3.0.2. The question however remains.
In attachment 1 you see the additional images in a column in VM 2.6.14. Clicking on one of these images brings this image to the top large image. That is OK and considered as the reference. In attachment 2 you see in VN 3.0.2 the additional images in a row and not clickable.


I would first check the Admin console of firefox / google chrome, if there are any errors shown. Mostly this occur when any script is used which let crashing the scripts for fancybox..
To do a basic check, enable beez3 & protostar as your default template and disable all aditional plugins.. then check if your problem still occur. Check for VM-Setting "use fancybox" is enabled too.


GJC Web Design

Also without a live url to the problem pages everything here is just guess work
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

bestcons

The link to the life url of annex 1 is: http://www.oudvorden.nl/index.php/component/virtuemart/boerderij/baakseweg2014-04-18-06-55-23808573048/baakseweg-3-detail?Itemid=0
The link to the migrated testwebsite for annex 2 is: http://www.dedecanije.nl/index.php/component/virtuemart/boerderij/baakseweg2014-04-18-06-55-23808573048/baakseweg-3-detail?Itemid=114
Please realise that the test website is a real copy of the life website. So using the menu, let you jump tot the life website through the hyperlinks. Hence you find for accessing at the bottom left a menu called vm-category.
Fancybox was not enabled, it is now. I do not receive error messages from Firefox.
Hope you can assist me.
bestcons

GJC Web Design

the vert alignment is because they have a line break between each thumb and no float or width  applied

that can only come from your template - the std  default_images_additional.php is completely different code - are u still using old over rides?
- btw when I click them the top image changes

and if you  really want to P off anyone that tries to help you incl. a no right click plugin!



[attachment cleanup by admin]
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

bestcons

"No right click" switched off  :-[
Overrides are disabled in shop template settings.  Clicking on the thumbs brings the image indeed to the top as you noticed on the life website. I just saw that disabling the overrides has enabled this same behaviour on the testwebsite. So what remains is the vertical arrangement.
bestcons

GJC Web Design

I wouldn't be happy with just trying to switch over rides off in the admin..

rename the templates/MY_TEMPLATE/html/com_virtuemart to e.g. templates/MY_TEMPLATE/html/com_virtuemart_____

to be certain -- this other rendering can only be from your template - it is completely different to the native rendering
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

bestcons

There is no such file. In the html folder there are only modules.php and index.html
bestcons

GJC Web Design

then don't know - you need to dig in the files or employ someone to do it for u
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

bestcons

Further to the first question from bluezeyes: I encountered a script error: http://www.mywebsite/media/jui/js/jquery.js:5171
Doed that give yoy a clue?
bestcons